Description of problem: When resizing an ext2 filesystem on an extended LVM logical volume, I get the following error message: [root@station6 ~]# ext2online /dev/test0/scratch ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b ext2online: ext2_ioctl: Inappropriate ioctl for device ext2online: unable to resize /dev/mapper/test0-scratch I used the following to make the ext2 filesystem originally: mke2fs /dev/test0/scratch If I had create the filesystem originally with the -j option (ext3) then the online resize works fine. This error occurs with the latest e2fsprogs errata package. e2fsprogs-1.35-11.6.EL4 Note: There is a discussion related to this that claims the documention is wrong and that ext3 is the only support filesystem type for this. So if ext2online is not supposed to work for ext2 then it should be reflected in the docs. http://archives.free.net.ph/message/20050304.181417.232a2b24.en.html
Agreed that this needs documented; we are unlikely to implement online resize for ext2.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
thanks Linda, adding to RHEL4.6 release notes under "Known Issues": <quote> At present, ext2online does not work for EXT2 file systems. </quote> please advise if any revisions are necessary. thanks!
I'll update the man page for this, too.
Ok, I've got the manpage change done, sorry, should have happened long ago.
adding "TIP" to RHEL4 System Admin Guide: <quote> You can increase the size of an ext3 file system using ext2online. ext2online allows you to increase the size of an ext3 file system once it is mounted (online) and on a resizable logical volume. The root file system is set up by default on LVM2 logical volumes during installation. Note that ext2online will only work on ext3 file systems. For more information, refer to man ext2online. </quote> please advise if any revisions are necessary. thanks!
Whoops, this should be in MODIFIED. Committed & built for e2fsprogs-1.35-12.11.el4
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0758.html
In the relnotes: Known Issues * At present, ext2online does not work for EXT2 file systems. I'm not sure this needs a relnote like this; ext2online, strangely enough, was never designed to resize ext2 filesystems, and there are no plans to add the functionality. The man page has been updated to reflect this understandable misconception... :) So I'm not sure this really needs to be flagged as an "issue" since it's really just a clarification of the original design intent? Thanks, -Eric
Thanks Eric. that note was actually also included in the RHEl4.7 release notes (we normally move over all known issues from previous release notes, and just edit as we go); i've removed it now.