[linux-lvm] extending a logical volume

Andreas Dilger adilger at turbolabs.com
Mon Jan 21 20:40:02 UTC 2002


On Jan 21, 2002  14:53 -0600, lembark at wrkhors.com wrote:
> I'm also not sure that ext3 supports online extension
> (thought the original post was about ext3), and ext2
> or msdos file systems certianly don't.

Actually, both _could_ support online resizing if I ever got
my butt in gear.  As it is, only ext2 supports it, but ext3
has untested code to do it for 2.2 kernels.

> You also don't know if anyone is using the volume for
> a networked file system, which may screw things up 
> if the caching is too aggressive.

No, never seen a problem with this.  Nobody shrinks filesystems
online, so at worst you might not fully utilize the newly allocated
space.  In the end, however, applications rarely check the total
free space in a filesystem, but rather just write until the write
command returns ENOSPC.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





More information about the linux-lvm mailing list