Re: resize2fs on LVM on MD raid on Fedora Core 3 - inode table conflicts in fsck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 09, 2004 at 10:55:55AM -0700, Andreas Dilger wrote:
> This is obviously a bug that needs to be fixed.  The good news is
> that instead of resizing your filesystem while it is unmounted you can
> resize it while it is mounted, and that shouldn't suffer from any of
> these problems (and is much more convenient).  You need the ext2resize
> RPM from sourceforge (don't know why it isn't in FC2 if they have also
> applied the patch to mke2fs):
> 
> ftp://rpmfind.net/linux/sourceforge/e/ex/ext2resize/ext2resize-1.1.19-1.i386.rpm
> 
> Then you can mke2fs a new filesystem, mount it, lvextend, and run
> "ext2online /dev/severn_vg0/test" and it will grow to fill the LV.
> There is also a tool that ships with LVM called "e2fsadm" which does
> this for you, like "e2fsadm -L +5G /dev/severn_vg0/test" should do
> both the lvextend and ext2online step at once.
> 
> You should also be able to properly resize it while unmounted with
> ext2resize, but that is far less interesting...

Looks like resize2fs has not been fixed to handle the new resizing code, but
ext2online is in the Red Hat e2fsprogs.  I used it the other day on my
root filesystem, and it seemed to work fine.

[rugolsky@mercury ~]$ rpm -qf /usr/sbin/ext2online
e2fsprogs-1.35-11.2

Regards,

	Bill Rugolsky

_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux