Redoing LVM/partition geometry from rescue mode losslessly?

Paul Howarth paul at city-fan.org
Thu May 18 10:16:34 UTC 2006


Philip Prindeville wrote:
> 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).

Where is this extras space going to come from? You can't easily get it 
by reducing /home because for some reason you put that on a different 
volume group.

Paul.




More information about the fedora-list mailing list