由于笔者的服务器机房电源损坏导致系统非正常关机操作导致数据盘损坏无法自动挂载,下面铁网维说下修复硬盘过程!
相关报错内容:
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
如下图:
修复文件系统:我们需要修复硬盘是/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<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重新挂载数据盘,大功告成!
本教程由铁网维原创出品 服务器运维官方网址http://www.tieww.com 欢迎大家多多关注本站 感谢大家的支持。
匿名 2020/06/24 00:23