resize2fs /dev/mapper/centos-root
提示:
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/centos-root
Couldn't find valid filesystem superblock.

xfs_growfs /dev/mapper/centos-root
或者
xfs_info /dev/mapper/centos-root

再重新执行
resize2fs /dev/mapper/centos-root

« 返回