Dangling Dentry of Directory Cannot Be Removed - Ibdircheck Error -22
Dangling Dentry of Directory Cannot Be Removed
- ibdircheck error -22
Solution ID: 86
Created: 12/4/2008
DETAILS:
Due to a failure and restitch on Ibrix 3.1, some files and directories are set with the
incorrect mode (0x6 shadow) and cannot be deleted. Command “Ibdircheck” results in:
Unexpected error -22
• The files and/or directories look like danglers with “???” listed for meta data on all
segment servers except the segment owner
The files and directories can be removed from the segment owner (as they will be
visable on the owner). However, if there are files with this problem located in a directory
with this problem (“???” listed for meta data) that is owned by different (non-owner)
segement servers, you may not be able to resolve the issue.
It may be possible to traverse the bad directory on segments that don't own it to get to
files that are owned by that segment server.
To verify this is the problem, use debug_ipfs1 and stat the inode for the directory or file.
If the ibrmode is “0x6”, then this is the problem. This mode can be changed with
debug_ipfs1 but only while offline
.
To verify this issue exists:
• get_seg <filename> from segment owner and note inode and segment
• Map segment to device.
• On the segment owner run: debug_ipfs1 /dev/ivgx/ilvx –c
• stat <inode> (must use <>)
If ibrmode is “0x6” this is the problem.
Files can be removed from the segment owner. Engineering may enhance ibdircheck to
resolve this problem.
IBRIX_S00000086.pdf
Last Modified: 12/4/2008