找回密码
 注册
搜索
热搜: 超星 读书 找书
查看: 4403|回复: 0

[【推荐】] Ubuntu8.10 server启动检测出错, 解决方法

[复制链接]
发表于 2009-11-16 13:46:21 | 显示全部楼层 |阅读模式
有次由于停电, 服务器停了, 手动重启后, 进入系统自检,
检测失败, 报错如下:
Error reading block \"x\" (Attempt to read block from file system resulted in short read) white reading directory block.

A log is being saved in /var/log/fsck/cherks if that location is writable.Please repair the file will now be started.
A maintenace shell will now be started Control-D will terminate this shew and resume system boot.
Ctrl-D启动系统后去/var/log/fsck/cherks看,见如下信息:
。。。。。。。。。。。。。。。。。。
/dev/sda3 contains a file system with errors, check forced.
/dev/sda3: Inodes that were part of a corrupted orphan linked list found.
/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
。。。。。。。。。。。。。。
fsck died with exit status 4

按照网上的其他方案均为解决, 后来参考fsck的用法时,发现了一篇文章,按照操作竟然成功了。

运行fsck.ext3 -p /dev/sda3 此为修复命令,结果未能修复。
运行fsck.ext3 -y /dev/sda3 (-y Assume \"yes\" to all questions ;所有的问题都回答yes)
就这样,一路yes,重启, 系统终于正常启动了。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|网上读书园地

GMT+8, 2024-5-5 04:09 , Processed in 0.245573 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表