Bug 178927 - ext2online will not extend ext2 filesystem without journal
Summary: ext2online will not extend ext2 filesystem without journal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: e2fsprogs
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Eric Sandeen
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks: 248673
TreeView+ depends on / blocked
 
Reported: 2006-01-25 15:41 UTC by David Lawrence
Modified: 2015-01-08 00:11 UTC (History)
4 users (show)

Fixed In Version: RHBA-2007-0758
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:00:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0758 0 normal SHIPPED_LIVE e2fsprogs bug fix update 2007-11-14 17:06:52 UTC

Description David Lawrence 2006-01-25 15:41:56 UTC
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

Comment 1 Stephen Tweedie 2006-02-03 20:23:06 UTC
Agreed that this needs documented; we are unlikely to implement online resize
for ext2.

Comment 3 RHEL Program Management 2007-05-09 10:55:28 UTC
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.

Comment 5 Don Domingo 2007-08-02 02:17:28 UTC
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!

Comment 6 Eric Sandeen 2007-08-30 18:02:47 UTC
I'll update the man page for this, too.

Comment 7 Eric Sandeen 2007-08-30 18:46:35 UTC
Ok, I've got the manpage change done, sorry, should have happened long ago.

Comment 8 Don Domingo 2007-08-31 02:58:25 UTC
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!

Comment 12 Eric Sandeen 2007-09-20 18:09:06 UTC
Whoops, this should be in MODIFIED.

Committed & built for e2fsprogs-1.35-12.11.el4


Comment 16 errata-xmlrpc 2007-11-15 16:00:53 UTC
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


Comment 17 Eric Sandeen 2008-04-07 15:33:34 UTC
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

Comment 18 Don Domingo 2008-04-08 06:04:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.