问题:
lvm创建的逻辑卷,在使用lvextend扩容之后,df看并不会有变化,通常我们需要resize2fs让他重新调整下
在使用resize2fs调整时报错:
resize2fs: 超级块中的幻数有错 或 Bad magic number in super-block
解决办法:
1、使用xfs_growfs 命令
2、fsadm resize
The OP stated that he was using the XFS filesystem. The tool resize2fs
works with ext2, ext3 and ext4 only.
There's a similar tool available for the XFS filesytem called xfs_growfs. You'll most likely have to install it first