Linux文件系统修复

checking root filesystem

/dev/sdb5 contains a file system with errors, check forced

/dev/sdb5:

Unattached inode 68338812

/dev/sdb5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

(i.e., without -a or -p options)

FAILED

/contains a file system with errors check forced

an eror occurred during the file system check

****dropping you to a shell;the system will reboot

****when you leave the shell

Press enter for maintenance

(or type Control-D to continue):

give root password for maintenance

上述提示,系统在开机后,没有完成文件系统的自动回复功能,在这个页面下若按Ctrl+D会自动重启机器,若输入root密码,则进入Linux的修复模式进行强行修复。


千万要注意,在修复之前一定要先卸载该设备。

unmount  /dev/sdb5

fsck.ext3  -y  /dev/sdb5

本文出自 “常用文档” 博客,请务必保留此出处http://yujianglei.blog.51cto.com/7215578/1562318

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。