use*_*914 5 filesystems rhel fsck superblock
当我以正常模式或运行级别 1 启动我的机器时,它会引发以下错误并且我无法启动机器:
checking filesystems
/dev/MyGroup/LogVol00: UNEXPECTED INCONSISTENCY; RUN fsck MANNUALLY
(i.e., without -a or -p options)
\*** An error occured during the file system check
\*** Dropping you to a shell; the system will reboot
\*** when you leave the shell
Give root password for maintenance (or type Control-D to continue):
Run Code Online (Sandbox Code Playgroud)
我输入密码并运行fsck
and e2fsck
,但两者都给出了相同的错误格式,如下所示:
(Repair filesystem) 1 # fsck
fsck 1.39 (29-May-2006)
Run Code Online (Sandbox Code Playgroud)
或者
(Repair filesystem) 1 # e2fsck -y /dev/MyGroup/LogVol00
e2fsck 1.39 (29-May-2006)
/dev/MyGroup/LogVol001: clean, 141289/1402144 files, 804207/1400832 blocks
e2fsck 1.39 (29-May-2006)
The filesystem size of the device is 131072 blocks
Either the superblock or the partition table is likely to be corrupt!
Run Code Online (Sandbox Code Playgroud)
现在我决定使用备用超级块如下:
(Repair filesystem) 6 #dumpe2fs /dev/MyGroup/LogVol00 | grep -i superblock
Run Code Online (Sandbox Code Playgroud)
通过alternative-superblock使用命令修复文件系统如下:
(Repair filesystem) 7 #e2fsck -f -b 8193 /dev/MyGroup/LogVol00
Run Code Online (Sandbox Code Playgroud)
使用所有备用超级块后,我收到相同的错误消息,如下所示:
e2fsck 1.39 (29-May-2006)
/dev/MyGroup/LogVol00: recovering journel
e2fsck: unable to set superblock flags on /dev/MyGroup/LogVol00:
Run Code Online (Sandbox Code Playgroud)
如何解决此类问题?