[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: File server FS?
On Nov 17, 2001  13:55 -0800, Mike Fedyk wrote:
> On Sat, Nov 17, 2001 at 06:12:53PM +0000, Jamie Lokier wrote:
> > Mike Fedyk wrote:
> > > There are two utilities to resize ext2, which ext3 is except for an
> > > additional file (journal) after umount.
> >
> > Two questions:
> >
> > 1. Does the size of the "appropriately sized journal (given the size
> > of the filesystem)" vary with filesystem size?

Only vaguely. The current size of the journal is mostly guesswork, because
we don't have any tools to measure if the journal is full or not anyways.

> Journal size has more to do with activity when you are in data journaling
> mode. Otherwise you will be hard pressed to fill a 32MB journal with
> meta-data.


> > 2. If so, does resize2fs change the journal size properly?

No, neither does ext2resize.

> As long as resize2fs doesn't change the inode of the journal file you should
> be fine.


> > When I have resized ext3 filesystems, I have removed then recreated the
> > journal manually because it wasn't clear from the documentation whether
> > resize2fs does the appropriate thing.

Like Mike says, there should be very minimal impact to the filesystem
operation, unless you are going from, say, a 16MB filesystem to a 500GB
filesystem. You also have to watch out if you start with a filesystem
smaller than 500MB - you will get 1kB blocks, and you don't want to have
a large filesystem (10's of GB) with a 1kB blocksize. There is nothing
that resize2fs or ext2resize can do about that, unfortunately.

> I haven't actually resized any ext2/3 partitions. Didn't need to. I'll do
> some tests though.

It works just fine with ext2resize, and I'm pretty sure resize2fs also
works on ext3 filesystems.

Cheers, Andreas
Andreas Dilger

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.639 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site