今天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了。
