一次Linux磁盘损坏导致系统不可用恢复实例

本文发布时间: 2019-Mar-22
Linux操作系统的服务器重启后,系统启动报错,系统无法正常使用。1、报错信息1.1、报错屏幕信息1.2、报错信息提取关键信息(1)/dev/sda3:File …(inode #139928,mod time Thu May 28 03:28:11 2015)Has 1135 multiply-claimed block(s),sharedwith 1 file(s):(2)/dev/sda3:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY.(i.e.,without –a or –p options)[FAILED](3)*** An error occurred during the file system check.***Dropping you to a shell; the systemwill reboot*** when you leave the shell.Give root password for maintenance(or type Control 0D to continue):2、问题分析从上面信息来看,是/dev/sda3磁盘有损坏所致,并且有提示,输入root密码后可以进入系统,并建议运行fsck进行磁盘检查,然后重启操作系统3、修复磁盘3.1 修复磁盘[root@ol6-single ~]# fsck –y /dev/sda3修复过程部分输出信息如下:3.2 重启系统[root@ol6-single ~]#init 0重启后,系统恢复正常。本文作者:黎俊杰(网名:踩点),从事”系统架构、操作系统、存储设备、数据库、中间件、应用程序“六个层面系统性的性能优化工作


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:09pm
栏目列表