The "lfsck" feature added in lustre 2.7 will attempt recovery of MDT
orphan file objects from lost+found. Although likely doesn't help you
ATM.
You may wish to look at script attached to LU-5626
ll_fix_mdt_lost_found.sh. I was intended to scan e2fsck logs for
recovery of "FID in dirent" errors.
Hi James,
I'm not aware of a ready-to use tool, but if you have captured the
output of e2fsck you can use that as a basis for a script that puts the
files back to their original location.
e2fsck usually prints out the full path and the inode numbers of the
files/directories which it moves to
Is there, or could there be, something analogous to the OST recovery
tool that works on the lost+found on the MDT? e2fsck went berserk.
We're running 2.5.3.
Thanks,
James Bellinger
Yes, we have an older (therefore somewhat inconsistent) backup of the
mdt, so we should be able to recover