
错误信息:
checking filesystems
/contians a file system wite errors, check forced
Error reading block 145817602(Attempt to read block from filesystem short read)while geting mext inode from scan.
/:UNEXPECTED INCONSISTRENCY RUN fsck MANUALLY.
(i.e,withiout -a or -p options)
[FAILED]
*** An error occurred during the file system check
*** Dropping you to a shellthe system will reboot
*** when you leave the shell,
Give root password for maintenance (or type Control-D to continue)
导致的原因:
当Linux系统被强行关闭或重新启动,电脑的档案系统便有可能受损,系统会自动检查并修复档案系统;但当档案系统未能自动修复,画面便会出现上述讯息。需要手动修复
修复步骤:
一.当出现上述错误后,首先看的提示“Give root password”,首先想到的是输入超级用户的密码。
二.输入fsck -A –V,提示找不到/etc/fstab,用ls /etc/fstab查看是存在的。
三.输入#e2fsck /dev/sda3(sda3是你的磁盘名)命令,用df –T命令可以查看。
四.输入#e2fsck /dev/sda3命令,系统会显示如下信息
e2fsck 1.32 (09-Nov-2002)
/boot was not cleanly unmounted, check forced
Pass1: Checking inodes, blocks, and sizes(pass1检测完,有的会需要你输入Y,按照输入就行)
Pass2: Checking directory structure
Pass3: Checking directory connectivity
Pass4: Checking reference counts
Pass5: Checking group summary information
/boot: *****FILE SYSTEM WAS MODIFIED*****
/boot: 53/26104 files (13.2% non-contiguous), 27316/104391 blocks五.输入reboot命令,重启系统,正常进入系统,问题解决.
解决方案:1.若非根目录挂载分区出现错误(如 /dev/hda1),那么在开机过程中,使用root身份运行 fsck /dev/hda1来检查文件系统是否有错误,如果发现有错误,就会显示Clear[Y/N]:直接输入y就行了,
之后重新启动,就可以了。
2.若根目录挂载的分区出现错误,那么就将硬盘拆下来,装在另一个运行linux系统的机器上(不要挂载),然后使用 root身份运行 fsck 来检查根目录分区,如果发现有错误,就会显示Clear[Y/N]:直接输入y就行了,然后将硬盘重新安装在之前的机器上,启动,一切ok了。
ErrorWriteRecord是由Linux *** 作系统生成的错误消息,指示写入磁盘或其他存储设备时出现问题。这可能是由于权限不足、存储设备的格式不正确或存储设备本身的物理损坏造成的。根据原因,通常可以通过检查权限和格式设置或更换任何损坏的硬件组件来解决。欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)