[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Redoing LVM/partition geometry from rescue mode losslessly?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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).

I don't think you even need to boot into rescue mode to do this
(though it shouldn't hurt).  Paul Howarth detailed the steps for
another poster just yesterday in a thread titled "Resizing logical
volumes" (msg-id: 1147851477 1390 7 camel laurel intra city-fan org).

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
A moment's insight is sometimes worth a life's experience.
    -- Oliver Wendell Holmes (1809-1894)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkRrxvcmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1plPgCgjgo5itlZD3gzguOW38TiUloVW68An23UBXfz
dzXOLrXm2GseRFBwDWb5
=KWrX
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]