Re: File server FS?

Jamie Lokier
2001-11-18T01:37:17Z

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