我正在使用Red Hat Enterprise Linux Server release 7.2 (Maipo)
并将 vgroup 挂载到文件夹:/dev/mapper/vg_oradata-lv_oradata 886G 636G 206G 76% /bak
。现在,在文件夹 /bak 中有一些文件无法删除,信息如下:
[root@bak bak]# ls -l
ls: cannot access data_t950234427_s4036_p2.rmanbkp: Input/output error
ls: cannot access data_t950499092_s4061_p9.rmanbkp: Input/output error
ls: cannot access data_t950493620_s4055_p1.rmanbkp: Input/output error
ls: cannot access data_t950529442_s4066_p1.rmanbkp: Input/output error
ls: cannot access data_t950499092_s4061_p7.rmanbkp: Input/output error
ls: cannot access data_t950499092_s4061_p10.rmanbkp: Input/output error
ls: cannot access data_t950499092_s4061_p6.rmanbkp: Input/output error
ls: cannot access data_t950499096_s4064_p12.rmanbkp: Input/output error
ls: cannot access data_t950499096_s4064_p10.rmanbkp: Input/output error
ls: cannot access data_t950513219_s4065_p1.rmanbkp: Input/output error
ls: cannot access data_t950493620_s4056_p1.rmanbkp: Input/output error
total 168166396
-????????? ? ? ? ? ? data_t950234427_s4036_p2.rmanbkp
-????????? ? ? ? ? ? data_t950493620_s4055_p1.rmanbkp
-????????? ? ? ? ? ? data_t950493620_s4056_p1.rmanbkp
-????????? ? ? ? ? ? data_t950499092_s4061_p10.rmanbkp
-????????? ? ? ? ? ? data_t950499092_s4061_p6.rmanbkp
-????????? ? ? ? ? ? data_t950499092_s4061_p7.rmanbkp
-????????? ? ? ? ? ? data_t950499092_s4061_p9.rmanbkp
-????????? ? ? ? ? ? data_t950499096_s4064_p10.rmanbkp
-????????? ? ? ? ? ? data_t950499096_s4064_p12.rmanbkp
-????????? ? ? ? ? ? data_t950513219_s4065_p1.rmanbkp
-????????? ? ? ? ? ? data_t950529442_s4066_p1.rmanbkp
当我无法执行命令时,rm -rf
它在文件夹中:
[root@bak bak]# rm -rf data_t950234427_s4036_p2.rmanbkp
rm: cannot remove ‘data_t950234427_s4036_p2.rmanbkp’: Input/output error
有什么问题?任何帮助都将不胜感激。
答案1
听起来你的存储子系统有问题。阅读 的输出dmesg
。看看。lsblk
你使用 RAID 了吗?请参阅cat /proc/mdstat
。