Yes, sorry, there are two different problems here. The one I was
talking about happens when you go above 16TB. That fix is easy.
Going to a fs size a little greater than 1TB is triggering another
problem from a file system originally created with 1G file size, which
I've replicated and I've con
Similarly with lvm and kpartx
Although on something with big enough real disks I only have:
resize2fs 1.41.12 (17-May-2010)
--
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 al
I should point out that the resize2fs in precise does the same thing
even if you don't specify the size:
For example do
$ cp tiny xxl
$ dd if=/dev/zero of=xxl bs=1 count=0 seek=1310720M
$ resize2fs xxl
When I looked at the code I couldn't see an explicit check in there.
--
You received this bu
Yep, confirmed; normally users don't specify a size explicitly, and
simply allow resize2fs to use the size of the block device as the size
to use for the new file system --- and we have the appropriate tests in
that code path.
But if the user specifies the size explicitly, we aren't checking to
ma
The use case here is expansion of the root partition of a virtual
machines from a small core image.
--
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
** Tags added: precise
--
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:/
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
resize2