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

Re: LVM/EXT3 extending



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

Attachment: pgp8EP4X4Zah0.pgp
Description: PGP signature


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