Details

    • Technical task
    • Resolution: Fixed
    • Major
    • Lustre 2.7.0
    • Lustre 2.7.0
    • None
    • 15373

    Description

      If the MDT-object has a linkEA entry that back references a name entry under some parent directory, but such parent directory has no the claimed name entry. On the other hand, the MDT-object's linkEA entries count is not larger than the MDT-object's hard links count. Under such case, it is quite possible that the name entry is lost. Means the object is an orphan. Then the namespace LFSCK should add the name entry back to the namespace according to the linkEA entry.

      Attachments

        Activity

          [LU-5516] LFSCK 3: repair the lost name entry

          All related patches have been landed to master.

          yong.fan nasf (Inactive) added a comment - All related patches have been landed to master.

          The patch http://review.whamcloud.com/#/c/11391/ has been landed to master.

          yong.fan nasf (Inactive) added a comment - The patch http://review.whamcloud.com/#/c/11391/ has been landed to master.
          yong.fan nasf (Inactive) added a comment - The http://review.whamcloud.com/#/c/12249/ replaced http://review.whamcloud.com/#/c/11390/ , and has been landed to master.

          If the missed name entry's parent MDT-object is also lost, then namespace LFSCK will re-create the lost parent MDT-object under the .lustre/lost+found/MDTxxx/ directory. Here is the patch:
          http://review.whamcloud.com/#/c/11391/

          yong.fan nasf (Inactive) added a comment - If the missed name entry's parent MDT-object is also lost, then namespace LFSCK will re-create the lost parent MDT-object under the .lustre/lost+found/MDTxxx/ directory. Here is the patch: http://review.whamcloud.com/#/c/11391/
          yong.fan nasf (Inactive) added a comment - Here is the patch: http://review.whamcloud.com/#/c/11390/

          People

            yong.fan nasf (Inactive)
            yong.fan nasf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: