resize2fs: Bad magic number in super-block while trying to open
Posted 嗡嘛呢巴美吽舍
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
ref: http://stackoverflow.com/questions/26305376/resize2fs-bad-magic-number-in-super-block-while-trying-to-open
以上是关于resize2fs: Bad magic number in super-block while trying to open的主要内容,如果未能解决你的问题,请参考以下文章
LVM 扩容报错:resize2fs: Bad magic number in super-block while......
resize2fs: Bad magic number in super-block while trying to open /dev/centos/root Couldn't find v
10.lv扩容报错:resize2fs: Bad magic number in super-block while trying to open
LVM做扩容Bad magic number in super-block while trying
故障处理:磁盘扩容出错:e2fsck: Bad magic number in super-block while trying to open /dev/vdb1
Ubuntu 14.04 samba提示bad talloc magic value - access after free报错