[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: File server FS?
On Sat, Nov 17, 2001 at 02:10:01PM -0800, Andrew Morton wrote:
> Mike Fedyk wrote:
> >
> > I haven't actually resized any ext2/3 partitions. Didn't need to. I'll do
> > some tests though.
> I tested it a while back - it worked OK. If you could retest that'd be
> neat.

I'll try to do that over the next couple weeks.

> The journal shouldn't be affected - it's just a regular file.

That's what I meant by "as long as the inode number is the same". Since it
is a normal file, the only thing ext2resize might overlook would be the
inode number for the jounal that's kept in the super block. If, in fact
ext2resize does decide to change inode numbers for some reason. I don't
know if it does.

> mke2fs and tune2fs choose an initial journal size based
> on the size of the fs, so if you were increasing the
> fs size by a large ratio then there may be a case for
> increasing the journal size. But as you've pointed out,
> an 8, 16 or 32 megabyte journal covers an awful lot of metadata.

Yep. It would be more important for data=journal mode.

Can ext2resize change the block size too? If the journal is larger than
100MB then it would need to be made smaller for 1k blocks 200MB for 2k
blocks, and left at 400MB for 4k blocks.

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.051 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site