linux非正常关机操作导致挂载硬盘报mount: wrong fs type, bad option, bad superblock on xxxxxx 的

[复制链接] |主动推送
查看35 | 回复0 | 2024-9-11 18:06:13 | 显示全部楼层 |阅读模式
由于笔者的服务器机房电源损坏导致系统非正常关机操作导致数据盘损坏无法自动挂载,下面铁网维说下修复硬盘过程!
相关报错内容:
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  
如下图: 160909ktcc8dtdqyjofd7q.png


修复文件系统:我们需要修复硬盘是/dev/xvdb1
[root@MyServer ~]# fsck -t ext3 /dev/xvdb1
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? yes
Inode 30, i_blocks is 275480, should be 365928. Fix? yes
/dev/xvdb1: e2fsck canceled.
/dev/xvdb1: ***** FILE SYSTEM WAS MODIFIED *****
好了,到此修复成功我们重新执行mount -a重新挂载数据盘,大功告成!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则