Redoing LVM/partition geometry from rescue mode losslessly?

Philip Prindeville philipp_subx at redfish-solutions.com
Thu May 18 00:46:19 UTC 2006


Hi.

I kickstarted a computer with the following:

#clearpart --linux --drives=hdd
#part /boot --fstype ext3 --size=100 --asprimary
#part pv.15 --size=29957 --asprimary
#part pv.9 --size=8092 --asprimary
#volgroup VolGroup00 --pesize=32768 pv.9
#volgroup VolGroup01 --pesize=32768 pv.15
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024
#logvol /home --fstype ext3 --name=LogVol00 --vgname=VolGroup01 --size=29920
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=7008

only to find out from the user that they needed more root space, but didn't
realize it at the time.  They now want to grow their root by 2GB.

Is there a relatively painless/foolproof way to do this, say rebooting
in rescue mode, and resizing?

The user doesn't want to machine dumped/restored, or reimaged (because it's
now been customized).

Thanks,

-Philip




More information about the users mailing list