Operating System - Linux
1832273 Members
2132 Online
110041 Solutions
New Discussion

Re: RHES3, ext3 and online resize : no hope ?

 
Jean-Yves Picard
Trusted Contributor

RHES3, ext3 and online resize : no hope ?

Hello,

title say it all.

I have a RHES3, I want to grow a filesystem.
this file system is ext3

lvcreate --size 10m vg02
mke2fs -j /dev/vg02/lvol4

can it be grown while online ?
(e2fsprogs-1.32-15)

e2fsadm -L+10m -v /dev/vg02/lvol4
e2fsadm -- Sorry: 'ext2online' not found in any of /sbin /usr/sbin /usr/local/sbin /bin /usr/bin
e2fsadm -- ERROR: can't online resize

e2fsadm -- ERROR: /proc/mounts says /dev/vg02/lvol4 is mounted on /mnt/test-bo.
Please unmount it to resize.

where do I look for ext2online ? is it available for RHES_3_ ?

release notes for RHES_4_ hints that now FS can be grown online ...

can it be done in RHES_3_ ?

Jean-Yves Picard
6 REPLIES 6
Ivan Ferreira
Honored Contributor

Re: RHES3, ext3 and online resize : no hope ?

Not sure if possible, you may want to try upgrading your e2fsprogs package. Verify that the new package has the required command (ext2online).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ian Vaughan
Honored Contributor

Re: RHES3, ext3 and online resize : no hope ?

Howdy,
If I remember correctly (It does happen sometimes :-) ) this functionality only appeared in the 2.6 series kernel and again IIRC RHES 3 is on a 2.4 kernel.
So no sorry you can't at the moment - you could always upgrade the box to RHES 4 provided you are on support??

regards
Ian
Hope that helps - please click "Thumbs up" for Kudos if it does
## ---------------------------------------------------------------------------##
Which is the only cheese that is made backwards?
Edam!
Tweets: @2techie4me
dirk dierickx
Honored Contributor

Re: RHES3, ext3 and online resize : no hope ?

http://ext2resize.sourceforge.net/index.html

you can download (s)rpm's from the sourceforge site. should work without problems, i just recently did this on an old RH7.2 install!
Jean-Yves Picard
Trusted Contributor

Re: RHES3, ext3 and online resize : no hope ?

Hello,

thanks for help (and don't worry I won't forget point)

error has changed
e2fsadm --size +10m -v /mnt/test-bo
e2fsadm -- checking logical volume name
e2fsadm -- checking existance of logical volume /dev/vg02/lvol4
e2fsadm -- checking for relative/absolute size change
e2fsadm -- reading VGDA of volume group "vg02" from lvmtab
e2fsadm -- calculating absolute logical volume size
e2fsadm -- checking size modulo PE size
e2fsadm -- rounding size up to physical extent boundary
e2fsadm -- checking logical volume maximum size
e2fsadm -- extending logical volume size
lvextend -- extending logical volume "/dev/vg02/lvol4" to 72 MB
lvextend -- doing automatic backup of volume group "vg02"
lvextend -- logical volume "/dev/vg02/lvol4" successfully extended

e2fsadm -- resizing filesystem (this can take a while)
ext2online v1.1.17 - 2001/03/18 for EXT2FS 0.5b
ext2online: ext2_open: fs has unsupported feature(s) enabled:ext2online: can't open /dev/vg02/lvol4


logical volume is extended just fine, but filesystem won't grow !!

Jean-Yves Picard
Ivan Ferreira
Honored Contributor

Re: RHES3, ext3 and online resize : no hope ?

This could be a kernel limitation as described before. Try upgrading your kernel. I'm not sure if 2.6 is available for RHEL3. See RHN or download the 2.6 source for RHEL4.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Jean-Yves Picard
Trusted Contributor

Re: RHES3, ext3 and online resize : no hope ?

Hello,

thanks all for help.
if it's a kernel limitation then that's settle it.

(Id' rather unmount Filesystem than upgrade the kernel)

Jean-Yves Picard