Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13527

allow OST FID lookup via lfs fid2path

Details

    • 9223372036854775807

    Description

      It would be useful to allow reverse pathname lookup of OST FIDs via "lfs fid2path /mntpt <fid>", since the OST FIDs are sometimes referenced in console error messages, and it is useful to be able to do a pathname lookup without first having to manually run e.g. "debugfs -c -R 'stat <O/<f_seq>/d$((<f_oid> %32))/<f_oid>' /dev/<ostdev>" or "ll_decode_filter_fid" on the underlying OST.

      The client would need to first determine that this is an OST FID from the FLDB, then fetch the "fid" xattr that contains the MDT parent FID from the OST object (if it exists), and then do the normal fid2path lookup on the returned MDT parent FID.

      Attachments

        Issue Links

          Activity

            [LU-13527] allow OST FID lookup via lfs fid2path
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EXR-540 [ EXR-540 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.17.0 [ 16192 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Keguang Xu [ squalfof ]
            adilger Andreas Dilger made changes -
            Labels Original: debug medium usability New: debug easy medium usability
            adilger Andreas Dilger made changes -
            Labels Original: medium New: debug medium usability
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-4585 [ DDN-4585 ]
            adilger Andreas Dilger made changes -
            Priority Original: Minor [ 4 ] New: Major [ 3 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-4458 [ DDN-4458 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-3423 [ DDN-3423 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DOE-46 [ DOE-46 ]

            People

              squalfof Keguang Xu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: