How to resize linux root partition? And use the remaining space...
I tried to resize my fedora root partition with the solution jdupre wrote before in "How to Resize Root LVM Logical Volume???"
(Boot with rescue CD. Skip mounting of the system partitions.
# lvm vgchange -a y
# e2fsck -f /dev/VolGroup00/LogVol00
# resize2fs -f /dev/VolGroup00/LogVol00 37G
# lvm lvreduce -L37G /dev/VolGroup00/LogVol00
Well, the partition became smaller, and I can use it but cannot do anything with the remaining space.
If I check it with the Logical Volume management tool, it shows "Unused space (540 extents)" betveen LogVol00 and LogVol01. But I cannot select it or do anything with it.
--- Physical volume ---
PV Name /dev/sdb3
VG Name VolGroup00
PV Size 54.92 GB / not usable 19.19 MB
PE Size (KByte) 32768
Total PE 1757
Free PE 541
Allocated PE 1216
PV UUID MYRdZt-FQMj-e3J0-edEw-me7T-SAVJ-0pMZYH
I'd like to migrate it out of LVM, and put an ext3 to it.
Last edited by tab80; 12-22-2007 at 11:47 AM.