LVM/EXT3 extending

Alain PORTAL aportal at univ-montp2.fr
Mon Sep 19 11:47:16 UTC 2005


Le Lundi 19 Septembre 2005 13:26, Paul Howarth a écrit :
> Alain PORTAL wrote:
> > Hi,
> >
> > I need extending a logical volume that hold my /var partition.
> > I read in the LVM HOWTO
> > (http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html) that "Unless you have
> > patched your kernel with the ext2online patch it is necessary to unmount
> > the file system before resizing it."
> >
> > I have an FC4 fully updated. Is the provided kernel patched with the
> > ext2online patch?
>
> ext2online does usually work in FC4. It depends on how big the
> filesystem change you need to make is.

I want to extend from 2GB to 20GB.

> > If not,  a possible solution should be like
> > https://www.redhat.com/archives/fedora-list/2005-June/msg05578.html
> >
> > boot rescue mode
> >
> > # lvm
> > lvm > lvextend -L20G /dev/VolGroup00/LogVol05
> > lvm > exit
> > resize2fs /dev/VolGroup00/LogVol05
> >
> > reboot
> >
> > Am I right?
>
> Looks reasonable.

OK.

> Try ext2online first though. 

Sure? I never like the warning "use at your own risk" :-)

Your sincerely,
Alain
-- 
Les pages de manuel Linux en français :
http://manpagesfr.free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050919/e2babd01/attachment-0001.sig>


More information about the fedora-list mailing list