Re: [Hampshire] LVM Unmounting
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 --
Re: [Hampshire] LVM Unmounting
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. I'm pretty certain I've grown LVM partitions before without bothering to unmount them, but have a sneaky suspicion that may have been with ReiserFS. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- There are three mistaiks in this sentance. --- signature.asc Description: Digital signature -- 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 --
Re: [Hampshire] LVM Unmounting
Quick LVM question - is it necessary to unmount an ext3 partition before growing it? No. resize2fs will do online resizing for you. ...And lvresize will grow the underlying LV - again, without unmounting. Vic. -- 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 --
Re: [Hampshire] LVM Unmounting
On Monday 04 October 2010 18:40:34 Vic wrote: Quick LVM question - is it necessary to unmount an ext3 partition before growing it? No. resize2fs will do online resizing for you. ...And lvresize will grow the underlying LV - again, without unmounting. Okay, thanks guys. -- Be seeing you, http://www.glendale.org.uk Sam.Mail/IM (Jabber): s...@glendale.org.uk -- 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 --