$ resize2fs -P /tmp/root-image
resize2fs 1.42.9 (4-Feb-2014)
Estimated minimum size of the filesystem: 274500
And then quickly checking that 'apt-get install e2fsprogs' installs utopic version 1.42.10 and:
$ resize2fs -P /tmp/root-image
resize2fs 1.42.10 (18-May-2014)
Estimated minimum size of the filesystem: 358400
To rule out kernel involvement, I took the same 'root-image' and ran this on utopic:
# these downloaded trusty versions [https:/ /launchpad. net/ubuntu/ +source/ e2fsprogs] 1.42.9- 3ubuntu1_ amd64.deb 1.42.9- 3ubuntu1_ amd64.deb
$ sudo dpkg -i e2fslibs_
$ sudo dpkg -i e2fsprogs_
$ resize2fs -P /tmp/root-image
resize2fs 1.42.9 (4-Feb-2014)
Estimated minimum size of the filesystem: 274500
And then quickly checking that 'apt-get install e2fsprogs' installs utopic version 1.42.10 and:
$ resize2fs -P /tmp/root-image
resize2fs 1.42.10 (18-May-2014)
Estimated minimum size of the filesystem: 358400