resize2fs命令出现这个错误“resize2fs: Operation not permitted While trying to add group #6656”,并且在/var/log/message里面出现以下错误“Jul 30 15:37:53 localhost kernel: EXT4-fs warning (device dm-2): ext4_group_add: No reserved GDT blocks, can't resize”
这个问题是由于文件系统预留的Journal size太小导致 1. dumpe2fs /dev/vdc | grep -i journal 查看, 2. e2fsck -C 0 /dev/vdc 清理日志空间 3. mke2fs -J size=400 /dev/vdc 修改size值为400M 修改完后,再次执行e2fsck -C 0 /dev/vdc