Similarly with online resizing: $ cp tiny xxl $ dd if=/dev/zero of=xxl bs=1 count=0 seek=1310720M $ sudo losetup /dev/loop0 xxl $ sudo e2fsck /dev/loop0 e2fsck 1.42 (29-Nov-2011) /dev/loop0: clean, 11/65536 files, 12635/262144 blocks $ sudo mount /dev/loop0 /mnt $ sudo resize2fs /dev/loop0 resize2fs 1.42 (29-Nov-2011) Filesystem at /dev/loop0 is mounted on /mnt; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 80 Performing an on-line resize of /dev/loop0 to 335544320 (4k) blocks. resize2fs: Operation not permitted While trying to add group #8192
$ sudo umount /dev/loop0 $ sudo e2fsck /dev/loop0 e2fsck 1.42 (29-Nov-2011) /dev/loop0: clean, 11/67108864 files, 4220121/268435456 blocks With online resizing the filesystem fails to a consistent state at the maximum filesystem size. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/956038 Title: resize2fs allows resize beyond maximum fs size - corrupts fs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/956038/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
