欢迎光临
我们一直在努力

resize2fs: Bad magic number in super-block while trying to open

I am trying to resize a logical volume on CentOS7 but am running into the following error:

resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/centos-root
Couldn’t find valid filesystem superblock(找不到有效的文件系统超级块).

solution:

After a bit of trial and error… as mentioned in the possible answers, it turned out to require xfs_growfs rather than resize2fs.

 

xfs_growfs  /dev/centos/root
df -h
赞(0) 打赏
未经允许不得转载:运维那些事 » resize2fs: Bad magic number in super-block while trying to open

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏