发上等愿,结中等缘,享下等福;择高处立,寻平处住,向宽处行

Brick walls are there for a reason :they let us prove how badly we want things

代码改变世界

[linux系统]XFS (vda3):Corruption detected.Unmount and run xfs_repair 简单解决办法

2019-04-12 17:57  糖兜guard  阅读(4881)  评论(0编辑  收藏  举报

今天kvm的centos系统,rm -rf时报错,具体如下:

rm: cannot remove ‘log-0/case1/log_net’: Input/output error
rm: cannot remove ‘log-0/case1/log_iostate’: Input/output error

强制重启系统后,发现XFS (vda3):Corruption detected.Unmount and run xfs_repair 相关的错误。

从错误可以查看到是vda3错误。

解决办法:

1、umount  /dev/vda3

2、xfs_repair -L /dev/vda3

3、reboot 就ok了。

 

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things