an error occurred during the file system check'错误解决办法,occurredduringfdisk -l发现


昨天局域网的服务器突然断电,重启后就出现如下错误:

登录进去后,很多命令都无法使用,比如yum提示var/run/yum.pid不能创建,因为是只读模式。fdisk -l发现是boot(/dev/sda1)分区有错误,显示“partition 1does not end on cylinder boundary”。

解决办法,修复下该分区即可:

[plain]view plaincopy

#umount/dev/sda1

#fsck.ext4-y/dev/sda1

#reboot


相关内容

    暂无相关文章