故障处理：磁盘扩容出错：e2fsck: Bad magic number in super-block while trying to open /dev/vdb1

发布时间：2018-06-13 01:00:29发布者：Mr.Zhang阅读（68）

按照阿里云官网教程对云服务器进行磁盘扩容，使用fdisk重新分区，最后使用e2fsck和resize2fs来完成文件系统层面的扩容

在执行“e2fsck -f /dev/vdb1”命令时报错，如果你的问题和下面的错误一样，可以接着往下看：

[root@aliyunsrv ~]# e2fsck -f /dev/vdb1
e2fsck 1.41.12 (17-May-2010)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/vdb1
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>