Re: [Hampshire] LVM, partitions and growing filesystems

Top Page

Reply to this message
Author: Adrian Bridgett
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
New-Topics: XFS (was Re: [Hampshire] LVM, partitions and growing filesystems)
Subject: Re: [Hampshire] LVM, partitions and growing filesystems
On Sat, Jul 21, 2007 at 16:57:58 +0100 (+0100), Vic wrote:
> >  - anyone had any trouble growing an ext3 system while it was on-line
> >    on a modern kernel?

>
> Nope. Works just fine.


One thing to be aware of is that if it's an ext2/3 filesystem then it
needs to have been _created_ with resize_inode:

dumpe2fs -h /dev/rootvg/varlv | grep features
Filesystem features:      has_journal resize_inode dir_index filetype
needs_recovery sparse_super large_file


If it's not there then you need to take the filesystem offline to
resize it as the resize2fs tool will not work.

You can (at your own risk) use "ext2prepare" from the old, deprecated
ext2resize tools to add resize_inode support to an unmounted
filesystem. Whilst this doesn't obviously help the first time, it
will help in future.

Adrian
--
Email: adrian@??? -*- GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution -*- www.debian.org
Avoid working with children, animals and Microsoft "operating" systems