lkml.org 
[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: File server FS?
Andreas Dilger wrote:
> > 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.
>
> No, that is a very difficult problem (especially growing the blocksize,
> which is what most people would want to do), because none of the 1kB
> blocks would be aligned properly. You would need to move basically all
> of the data in the filesystem, at which point you are far better off to
> create a new fs and copy over the data - faster and much less likely to
> have any problems.

Well, it's not really faster if you don't have that much spare disk
space. You end up doing lots of resizes of the old fs, to gradually
make space for the new fs, and between each resize copy over some of the
files. Oh, and lots of scary "dd" commands to slide the new fs down the
disk as it grows.

I know this because it's what I had to do, on two computers.

cheers,
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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