Jeroen van Wolffelaar wrote:
> For online resizing (the thing resize2fs can *not* do), it only works for
> ext2 (not ext3), and requires patches to the kernel (included) and to
> e2fsck. The latter is problematic, since on Debian, patches to software are
> not really easily applied for a Debian user.

That's funny, since I can resize trivial-sized ext3 filesystems online
with stock Debian 2.6 kernels, but not ext2's. This is the error
message I get when trying to resize a 32MB ext2 filesystem to 64MB
with ext2online:

ext2online: resizing to 65536 blocks
   ...flushing buffer 9/block 57348
Calling mount() for /tmp/file(/tmp/test) with debug,check,resize=65536
ext2online: resize failed while in kernel
ext2online: Invalid argument
ext2online: does the kernel support online resizing?

Same resize on ext3 works. Maybe this package should be renamed :)

Now if it would only work on real-world sized filesystems. Apparently
one can grow (but not shrink) file systems inside the 16 GB multiple
(for a 4k blocksize) to which the fs was created on, but not more.
ext2prepare gives errors of the type:

ext2prepare: error reserving block 0xab8005

But this software seems to unmaintained both upstream and in Debian,
so we're stuck with resize2fs.

Teemu

Reply via email to