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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

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

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

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

解决办法:

1、umount  /dev/vda3

2、xfs_repair -L /dev/vda3

3、reboot 就ok了。

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄