mirror of https://github.com/vitalif/e2fsprogs
9aef4b6954
Since auto_64-bit_support is on by default, resize_inode feature will be disabled when creating a >16T ext4 according to mke2fs.conf(5). This should also be done when making ext4 with "-O 64bit" to enable 64bit feature explicitly. Otherwise online resize to enlarge a over-16T fs to larger would fail. [root@localhost resize]# truncate -s 50t fs.img [root@localhost resize]# losetup /dev/loop0 fs.img [root@localhost resize]# mkfs -t ext4 -O 64bit /dev/loop0 30t [root@localhost resize]# mount /dev/loop0 mnt [root@localhost resize]# resize2fs /dev/loop0 resize2fs 1.42.7 (21-Jan-2013) Filesystem at /dev/loop0 is mounted on /root/resize/mnt; on-line resizing required old_desc_blocks = 3840, new_desc_blocks = 6400 resize2fs: Invalid argument While checking for on-line resizing support And dmesg shows [688378.442623] EXT4-fs (loop0): resizing filesystem from 6710886400 to 13421772800 blocks [688378.443216] EXT4-fs warning (device loop0): verify_reserved_gdb:700: reserved GDT 3201 missing grp 177147 (5804756097) [688378.443222] EXT4-fs (loop0): resized filesystem to 8858370048 [688378.528451] EXT4-fs warning (device loop0): ext4_group_extend:1710: can't shrink FS - resize aborted With this fix resize2fs could do the online enlarge correctly. Signed-off-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> |
||
---|---|---|
config | ||
contrib | ||
debian | ||
debugfs | ||
doc | ||
e2fsck | ||
ext2ed | ||
include/nonunix | ||
install-utils | ||
intl | ||
lib | ||
misc | ||
po | ||
resize | ||
tests | ||
util | ||
.gitignore | ||
.hgignore | ||
.missing-copyright | ||
.release-checklist | ||
ABOUT-NLS | ||
COPYING | ||
INSTALL | ||
INSTALL.elfbin | ||
MCONFIG.in | ||
Makefile.in | ||
README | ||
README.subset | ||
RELEASE-NOTES | ||
SHLIBS | ||
SUBMITTING-PATCHES | ||
TODO | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
depfix.sed | ||
e2fsprogs.lsm | ||
e2fsprogs.spec.in | ||
version.h | ||
wordwrap.pl |
README
This is the new version (1.42.9) of the second extended file system management programs. From time to time, I release new versions of e2fsprogs, to fix bugs and to make the utilities more robust. You can always find information about the latest version at the the e2fsprogs web page, which is: http://e2fsprogs.sourceforge.net The INSTALL file has instructions on building and installing e2fsprogs. Provisions for building Red Hat RPMs and Debian dpkg files are supplied as well. In case of bugs in these programs, please contact Ted Ts'o at tytso@mit.edu or tytso@alum.mit.edu. See the e2fsck man page for suggestions of what sort of information to include when submitting bug reports for these programs.