linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] resizing a mounted ext2 file system?
@ 2001-03-12 15:39 Urs Thuermann
  2001-03-12 18:11 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Urs Thuermann @ 2001-03-12 15:39 UTC (permalink / raw)
  To: linux-lvm

IIRC, I have read somewhere of the possibility to resize a mounted
ext2 file system.  I think I will have to patch the kernel and the
resize2fs utility (or install a new utility) to be able to do it.

Can someone give me a URL or other pointer, where to find it?  How
stable is this?  And will this go into the mainstream kernel/e2fsprogs
in near future?


urs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] resizing a mounted ext2 file system?
  2001-03-12 15:39 [linux-lvm] resizing a mounted ext2 file system? Urs Thuermann
@ 2001-03-12 18:11 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2001-03-12 18:11 UTC (permalink / raw)
  To: linux-lvm

Urs writes:
> IIRC, I have read somewhere of the possibility to resize a mounted
> ext2 file system.  I think I will have to patch the kernel and the
> resize2fs utility (or install a new utility) to be able to do it.
> 
> Can someone give me a URL or other pointer, where to find it?  How
> stable is this?  And will this go into the mainstream kernel/e2fsprogs
> in near future?

Please see http://sourceforge.net/projects/ext2resize/

It is fairly stable (OK, I'm a bit biased), but I haven't had any bug
reports in many months (1 year+?).  It only works on x86 right now.

Will it go into kernel?  Eventually.  I'm working on a new ext3 version
right now, and I haven't tried submitting the ext2 version to Linus in a
long time.

The new ext3 code will need a few minor changes to the on-disk layout
of the resize inode (the old layout will still work for ext2).  At this
point I will add an ext2 COMPAT flag, add full e2fsck support (verification
of resize inode instead of just removing an error message like now), and
send patches to Ted for inclusion into e2fsprogs (he will probably accept).

Once all is installed, you can use e2fsadm to handle LV+ext2 resize (it
will call ext2online or ext2resize as appropriate).

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-12 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-12 15:39 [linux-lvm] resizing a mounted ext2 file system? Urs Thuermann
2001-03-12 18:11 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).