Bug#346511: ext3 online resizing doesn't work

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#346511: ext3 online resizing doesn't work

Tore Anderson-2

Package: linux-2.6
Version: 2.6.15-1

  I can't get online resizing of ext3 to work.  The kernel spits out

    EXT3-fs: Unrecognized mount option "resize=1572864" or missing value

  when I try to remount the filesystem, supplying the "resize" option.
 Documentation/filesystems/ext3.txt says it should be there, and from
 what I can understand of fs/ext3/super.c and its parse_options() the
 "resize" option is supposed to be understood by the kernel.  Am I doing
 something wrong?  I have created the file system using mkfs -E resize.
 Resizing JFS (using the exact same procedure) works just fine.

--
Tore Anderson



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#346511: ext3 online resizing doesn't work

Tore Anderson-2
* Tore Anderson

>   I can't get online resizing of ext3 to work.

  After some more debugging it seems that the "resize" option isn't
 correctly parsed by fs/ext3/super.c.  Patch attached.  However, I'm not
 too sure if it is correct, right now my mount process is hanging in
 blocking I/O state, and there's almost no disk activity.  I started it
 two and a half hour ago...  The only thing the kernel had to say about
 it was:

    EXT3-fs warning (device dm-3): ext3_group_extend: will only finish group (4194305 blocks, 1 new)

  I suspect ext2online(8) is the only supported way of doing online
 resizing, and that the resize= mount option is intentionally broken
 because of that.  Perhaps it's a relic from the early days of the code
 in question...  But I don't know.

--
Tore Anderson

p (506 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#346511: ext3 online resizing doesn't work

Tore Anderson-2
In reply to this post by Tore Anderson-2
* Bastian Blank

> Stock linux does not support online resizing of ext3.

  It does (since 2.6.10).  I've successfully extended mounted ext3 file
 systems using ext2online from ext2resize 1.1.19-3 on an unmodified
 2.6.15-1-k7.  

  However the more I've looked into it, the more certain I've become
 that it is Documentation/filesystems/ext3.txt that is incorrect - the
 resize=nblocks mount option is probably disabled due to the fact that
 it's not working properly;  using ext2online(8) is currently the only
 way to do it.  Or so it seems to me.

  I just submitted a patch upstream that corrects the documentation, so
 it's probably going to be fixed in the next upstream release, but it's
 fine by me to close the bug already now anyway.

Kind regards
--
Tore Anderson



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#346511: marked as done (ext3 online resizing doesn't work)

Debian Bug Tracking System
In reply to this post by Tore Anderson-2
Your message dated Sun, 8 Jan 2006 22:18:58 +0100
with message-id <[hidden email]>
and subject line Bug#346511: ext3 online resizing doesn't work
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Jan 2006 15:56:20 +0000
>From [hidden email] Sun Jan 08 07:56:20 2006
Return-path: <[hidden email]>
Received: from lust.fud.no ([213.145.167.25])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Evcu4-0001aQ-1U
        for [hidden email]; Sun, 08 Jan 2006 07:56:20 -0800
Received: from pride.fud.no ([213.145.167.26])
        by lust.fud.no with esmtp (Exim 4.50)
        id 1Evcu1-0005i2-Kr; Sun, 08 Jan 2006 16:56:17 +0100
Received: from localhost ([127.0.0.1])
        by pride.fud.no with esmtp (Exim 4.60)
        (envelope-from <[hidden email]>)
        id 1Evcu1-0001dp-FF; Sun, 08 Jan 2006 16:56:17 +0100
Subject: ext3 online resizing doesn't work
From: Tore Anderson <[hidden email]>
To: [hidden email]
Content-Type: text/plain
Date: Sun, 08 Jan 2006 16:56:17 +0100
Message-Id: <[hidden email]>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3
Content-Transfer-Encoding: 7bit
Delivered-To: [hidden email]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


Package: linux-2.6
Version: 2.6.15-1

  I can't get online resizing of ext3 to work.  The kernel spits out

    EXT3-fs: Unrecognized mount option "resize=1572864" or missing value

  when I try to remount the filesystem, supplying the "resize" option.
 Documentation/filesystems/ext3.txt says it should be there, and from
 what I can understand of fs/ext3/super.c and its parse_options() the
 "resize" option is supposed to be understood by the kernel.  Am I doing
 something wrong?  I have created the file system using mkfs -E resize.
 Resizing JFS (using the exact same procedure) works just fine.

--
Tore Anderson


---------------------------------------
Received: (at 346511-done) by bugs.debian.org; 8 Jan 2006 21:19:01 +0000
>From [hidden email] Sun Jan 08 13:19:01 2006
Return-path: <[hidden email]>
Received: from wavehammer.waldi.eu.org ([82.139.196.55])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EvhwK-0005iP-VC
        for [hidden email]; Sun, 08 Jan 2006 13:19:01 -0800
Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000)
        id 0B4563C028; Sun,  8 Jan 2006 22:18:58 +0100 (CET)
Date: Sun, 8 Jan 2006 22:18:58 +0100
From: Bastian Blank <[hidden email]>
To: Tore Anderson <[hidden email]>, [hidden email]
Subject: Re: Bug#346511: ext3 online resizing doesn't work
Message-ID: <[hidden email]>
References: <[hidden email]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S"
Content-Disposition: inline
In-Reply-To: <[hidden email]>
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 08, 2006 at 04:56:17PM +0100, Tore Anderson wrote:
>   I can't get online resizing of ext3 to work.  The kernel spits out

Stock linux does not support online resizing of ext3.

Bastian

--=20
All your people must learn before you can reach for the stars.
                -- Kirk, "The Gamesters of Triskelion", stardate 3259.2

--AhhlLboLdkugWU4S
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iEYEARECAAYFAkPBgcIACgkQnw66O/MvCNHcBQCgmpCjtREiqx9jFtnPmoI6pY35
Xe0AoJekTLu86aProY7BovJR6PLLWzUm
=h9CW
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]