CentOS 用挂了dev/sda1:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY .

时间:2021-10-23 12:52:43

dev/sda1:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY .
(i.e. ,without -a or -p options)
fsck died with exit status 4

在命令行输入
#mount | grep ''on /''
得到你root用户所在分区/dev/your_partition,然后输入
fsck -y /dev/your_partition
即,检测并修复磁盘/dev/your_partition,-y 选项指定检测每个文件是自动输入yes
系统提示重启,重启后还是不行
在命令行输入
fsck -y /dev/sda1
重启ok。