linux非正常关机操作导致挂载硬盘报mount: wrong fs type, bad optio

由于笔者的服务器机房电源损坏导致系统非正常关机操作导致数据盘损坏无法自动挂载,下面铁网维说下修复硬盘过程!

相关报错内容:

mount: wrong fs type, bad option, bad superblock on /dev/xvdb1,

missing codepage or helper program, or other error

In some cases useful info is found in syslog – try

dmesg | tail or so  

如下图:

20160411204553

修复文件系统:我们需要修复硬盘是/dev/xvdb1

[root@MyServer ~]# fsck -t ext4 /dev/xvdb1      #fsck -t ext4 = fsck.ext4
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
fsck.ext3: Superblock invalid, trying backup blocks…
/dev/xvdb1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 30, i_size is 140902400, should be 187166720. Fix<y>? yes

Inode 30, i_blocks is 275480, should be 365928. Fix<y>? yes

/dev/xvdb1: e2fsck canceled.

/dev/xvdb1: ***** FILE SYSTEM WAS MODIFIED *****

好了,到此修复成功我们重新执行mount -a重新挂载数据盘,大功告成!

相关文章
相关标签/搜索