linux启动报磁盘错误
| Bash |
|---|
| /dev/sda3 contains a file system with errors, check forced.
/dev/sda3: Inodes that were part of a corrupted orphan linked list found.
***An error occurred 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):
|
机房一台linux的server无法正常启动,检查后应该是/dev/sda3这块硬盘的逻辑卷无法加载所致,使用fsck命令解决,命令如下:
fsck -C fd -N /dev/sda3
这之后会有如下提示
[/sbin/fsck.ext3 (1) -- /dev/sda3] fsck.ext2 -C0 /dev/sda3
继续执行命令如下
fsck.ext4 -C0 /dev/sda3
中间提示是否yes输入y即可,看到结束提示FILE SYSTEM WAS MODIFIED重启系统后OK