On 6/3/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
I got an install DVD for FC7 (thanks Carl).

I read the release notes.

I proceeded to the disk setup portion.  I could not figure out how to
get it to shrink my current FC4 system so that I can dual boot between
the two (and go ahead and set up FC7 on Xen, but that's a non-issue at
the moment).

How can I use this to shrink existing partions and LVs (and the file
systems therein contained)?

So I rebooted back into FC4.

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-Slash
                     130583936   5536780 118306780   5% /
/dev/hda2               101105     31345     64539  33% /boot
/dev/shm                225240         0    225240   0% /dev/shm
/dev/mapper/VolGroup00-Home
                      14728208   1401636  12566356  11% /home
/dev/hda1              4088532    807304   3281228  20% /mnt/whineDoze

As you can see, I have oodles of space.  (Even /boot (the fullest
partition) could be shrunk if I were that desparate.)

I rarely, if ever, touch whineDoze.  I keep it for support issues, but
I'd be happy to reclaim 2G of that space.


The coward's way out is to get another disk drive, copy everything you
want to keep to it, and then completely redo the structure of the
original drive.  Alternatively, get another disk drive, set it up the
way you want it and install the OS of your choice, and then copy
everything you want to keep from the old drive to the new one.

There are ways to shrink file systems, I went through this at a KPLUG
meeting presentation once, but will have to go back and look at my
notes.  Wait a bit while I get organized.  You generally can't shrink
a mounted file system, so you have to be running from a RAMdisk while
shrinking the Root partition.  Boot FC4 into rescue mode and carry on
from there.  Read a lot about LVM and all of its associated tools.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to