Shrink LVM root partition
Ok, I’ve figured this out … so just in case anyone wants to know how to do it:
1. Write the FC rescue disk ISO onto a CD, and reboot the machine from it.
2. Do not mount the file systems.
3. At the prompt, type:
lvm
4. Within LVM, run these commands (comments are after the ‘#’s):
lvm> vgscan # Will show the name of the Volume Group
lvm> vgchange –available y VolGroup00 # Activates the VG and the LVs in it
lvm> lvscan # Should show the LVs as “ACTIVE”; the devices in /dev it mentions should now exist
lvm> exit # Quit, return to the prompt
5. Now resize the filesystem with this command (e.g., using device /dev/VolGoup00/LogVol00):
e2fsck -f /dev/VolGoup00/LogVol00 # fsck on the filesystem
resize2fs /dev/VolGoup00/LogVol00 nnG # resize the fs to nn GB; nn should be less than the current fs size
e2fsck -f /dev/VolGoup00/LogVol00 # Do another fsck on the filesystem; fix any errors which appear
6. Run lvm again and type:
lvm> lvreduce -LnnG /dev/VolGoup00/LogVol00 # Resize the LV to nn GB; nn should be the same as above
lvm> exit # Quit, return to the prompt
7. Finally, do another filesystem check:
e2fsck -f /dev/VolGoup00/LogVol00 # Do another fsck on the filesystem; fix any errors which appear
8. Remove the CD and reboot.
+++more
http://fedorasolved.org/Members/zcat/shrink-lvm-for-new-partition
2 link daha
http://www.tummy.com/journals/entries/jafo_20070730_123311
Reducing the size of your root partition.
3- http://forums.fedoraforum.org/showthread.php?t=154625
How To extend root / partition ‘on-the-fly’, ext3/LVM only