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.
# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 510 4096543+ b W95 FAT32
/dev/hda2 511 523 104422+ 83 Linux
/dev/hda3 524 19457 152087355 8e Linux LVM
Disk /dev/dm-0: 138.0 GB, 138042933248 bytes
255 heads, 63 sectors/track, 16782 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 15.5 GB, 15569256448 bytes
255 heads, 63 sectors/track, 1892 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-2 doesn't contain a valid partition table
I imagine that the /dev/dm-[0-2] are the LVs.
I launched Desktop -> System Settings -> Logical Volume Management. It
showed options to grow but not shrink.
I searched "man lvm" for several things with no hits until I searched
for size. It pointed me to lvresize.
"man lvresize" cautions against shrinking the LV without first shrinking
the filesystem but gives zero pointers on where to look for advice on
that. There is no manual entry for "ext3", "ext2", "ext", nor
"format". The manual "e2fsck" points to "mke2fs" which points to
"tune2fs" but none of these seem to have what I need.
I'd like to add FC7 to my multiboot. How can I shrink my partitions
without killing the filesystems on them?
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list