在检查系统时发现,SUSE11 SP2 的环境下,目录文件显示异常,如:
hostname:/home/isgca/shared/data/fulllog/mergered # ls -lrt
ls: cannot access ERICISG_HTTP_ISG9_20140217090000_0000.txt.gz: No such file or directory
ls: cannot access ERICISG_HTTP_ISG9_20140217071000_0000.txt.gz: No such file or directory
ls: cannot access ERICISG_NHTTP_ISG9_20140217083937_0001.txt.gz: No such file or directory
ls: cannot access ERICISG_HTTP_ISG9_20140217085500_0000.txt.gz: No such file or directory
ls: cannot access ERICISG_NHTTP_ISG9_20140217091937_0001.txt.gz: No such file or directory
ls: cannot access ERICISG_NHTTP_ISG9_20140217081937_0001.txt.gz: No such file or directory
ls: cannot access ERICISG_HTTP_ISG9_20140217082500_0000.txt.gz: No such file or directory
total 546148
-??? ? ? ? ? ? ERICISG_NHTTP_ISG9_20140217091937_0001.txt.gz
-??? ? ? ? ? ? ERICISG_NHTTP_ISG9_20140217083937_0001.txt.gz
-??? ? ? ? ? ? ERICISG_NHTTP_ISG9_20140217081937_0001.txt.gz
-??? ? ? ? ? ? ERICISG_HTTP_ISG9_20140217090000_0000.txt.gz
-??? ? ? ? ? ? ERICISG_HTTP_ISG9_20140217085500_0000.txt.gz
-??? ? ? ? ? ? ERICISG_HTTP_ISG9_20140217082500_0000.txt.gz
-??? ? ? ? ? ? ERICISG_HTTP_ISG9_20140217071000_0000.txt.gz
-rw-r----- 1 isgca gwcagrp 66207793 Feb 18 15:30 ERICISG_HTTP_ISG9_20140218153000_0000.txt.gz
颜色标注的为正常文件。显示 No such file or directory 的文件无法做删除等操作。
怀疑为文件系统损坏导致,但是又有正常的文件存在,无法确认问题原因。
烦请各位大神多多指导,十分感谢!!!!!
你先用 root 看看有没有读权限
用 root 权限操作过了,也是同样的报错。
试试直接用 root 使用(贴结果)
ls -l
前面截图的出来的结果就是用 root 权限操作的 ls
ls -l /home/isgca/shared/data/fulllog/
ls -l /home/isgca/shared/data/fulllog/mergered
结果?
硬盘挂了吧