Files with Question Marks in Directory Listing [dangling d-entries]

Files with Question Marks in Directory Listing [dangling
d-entries]
Solution ID: 36
Created: 7/8/2008
DETAILS:
Issue:
If I go into a particular directory from a segment server I see: [root@ss-3b-uss
IvanMatias]# cd /qtrxfs1/disk3/Music/IvanMatias/TheModSquad [root@ss-3b-uss
TheModSquad]# ls IvanMatiasTheModSquadMessin'Around.mp3 [root@ss-3b-
uss TheModSquad]# [root@ss-3b-uss TheModSquad]# ls -al total 8 drwxr-xr-x 2
root root 4096 Jan 5 2008 . drwxr-xr-x 3 root root 4096 Jan 5 2008 .. ?--------- ? ?
? ? ? IvanMatiasTheModSquadMessin'Around.mp3 [root@ss-3b-uss
TheModSquad]#
Notice the file size above and file info is missing, the file appears to be missing
and has "?" marks, this is not the case for all files, only a few that I
can't seem to pin point to any one thing. Is there a handy way to check or confirm
the file system is all there and working properly?
Solution:
More then likely these are dangling d-entries. Dangling d-entries are files that
have been deleted but were not removed from the directory listing in the parent
directory inode. These entries can be cleaned up with the ibdircheck utility.
Please run the following command on one of the segment servers to perform an
analytic check. /usr/local/ibrix/bin/ibdircheck -s -r -n
/qtrxfs1/disk3/Music/IvanMatias/TheModSquad
Here is the output of the command: [root@ss-2a-uss TheModSquad]#
/usr/local/ibrix/bin/ibdircheck -s -r -n
/qtrxfs1/disk3/Music/IvanMatias/TheModSquad /usr/local/ibrix/bin/ibdircheck
2.2.189 Rpc Version:5 Rpc Ports base=9000
/qtrxfs1/disk3/Music/IvanMatias/TheModSquad [lookup_relative_path]
ADM_READDIR_BY_INUM dir 3200000002 error = -5 lost+found on segment 50
not found IvanMatiasTheModSquadMessin'Around.mp3 (Invalid name in
directory) Clear ? No [lookup_relative_path] ADM_READDIR_BY_INUM dir
3200000002 error = -5 [lookup_relative_path] ADM_READDIR_BY_INUM dir
3200000002 error = -5 Processed 1 dentries, checked 1 cross-references, 0
shadow dirs Errors: 1 Corrections: 0 Communication issues: 0 Internal errors: 0
[root@ss-2a-uss TheModSquad]#

Summary of content (2 pages)