[linux-lvm] ext2online fails

Andreas Dilger adilger at turbolabs.com
Thu Dec 13 13:00:03 UTC 2001

On Dec 13, 2001  16:19 +0000, Paul Jakma wrote:
> On Thu, 29 Nov 2001, Andreas Dilger wrote:
> > "ext2resize /dev/vg1/vol_usr" which will detect the size of the LV and
> > resize the filesystem to fill it.
> surely for an LVM user it'd be more advisable to use 'e2fsadm' so as 
> to ensure the resizing of the LV and ext2/3 fs are done with regard to 
> each other (and without user intervention.)? or does ext2resize now 
> also resize the LV as neccessary?

Well, if you read the context (not shown here), he already ran e2fsadm
and it resized the LV for him, but the ext2online kernel patches were
not in the kernel, so the filesystem was not resized.  Hence the request
to run ext2resize on the (already resized) LV directly.  I agree that it
is preferrable to run e2fsadm when doing this in normal cases.

Cheers, Andreas
Andreas Dilger

More information about the linux-lvm mailing list