On Mon, Oct  4, 2010 at 18:10:51 +0100 (+0100), Hugo Mills wrote:
> On Mon, Oct 04, 2010 at 06:01:36PM +0100, Samuel Penn wrote:
> > 
> > Hi all,
> > 
> > Quick LVM question - is it necessary to unmount an ext3 partition
> > before growing it?
> 
>    No. resize2fs will do online resizing for you.

FYI on redhat you need resize4fs if it's an ext4 volume, resize2fs for
ext2 or ext3.  Dunno why they needed a new binary - Debian works using
resize2fs for both.

lvresize -L +1G /dev/rootvg/varlv
resize2fs /dev/rootvg/varlv

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to