Hi Jason! Am 24.07.2012 um 20:18 schrieb Rappleye, Jason (ARC-TN)[Computer Sciences Corporation]: > On 7/24/12 11:10 AM, "Daniel Kobras" <kob...@linux.de> wrote: >> lfs fid2path (on any client) should do what you're looking for. > > Unfortunately that doesn't work for files created prior to Lustre 2.0, or > files with components of their path created before Lustre 2.0, The link > EA is missing from the MDT inode of such files, which is what fid2path > appears to use. This was a real bummer for us, and I'd love for someone to > tell me that I'm wrong. Please?
Pre-2.0, you can extract the inode number of the parent object on the MDT from the object's trusted.fid EA, eg. with ll_decode_filter_fid. On the MDT, you can map the inode number to a filesystem path with ncheck in debugfs or find -inum. Regards, Daniel. _______________________________________________ Lustre-discuss mailing list Lustre-discuss@lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss