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

LFSCK 3: replace LFSCK RPC with normal OUT RPC to create orphan parent on remote MDT

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 3
    • 16188

    Description

      When the namespace LFSCK tries to repair the missing name entry, means inserting the lost name entry back to its parent directory, it may find that the parent MDT-object is also lost. Under such case, the namespace LFSCK will firstly create the missing parent MDT-object as an orphan and insert into the .lustre/lost+found/MDTxxxx/ directory with the name:

      ${FID}-P-${conflict_version}.
      

      Then insert the lost name entry into the orphan parent according to the MDT-object's linkEA.

      Currently, the namespace LFSCK uses LFSCK RPC to handle the case of creating orphan parent MDT-object on remote MDT. It is not the normal way for cross-MDTs modification that usually will be handled via OUT RPC. Please refer to the comment on gerrit for more discussion:

      http://review.whamcloud.com/#/c/11391/28/lustre/lfsck/lfsck_namespace.c,cm

      Attachments

        Activity

          [LU-5767] LFSCK 3: replace LFSCK RPC with normal OUT RPC to create orphan parent on remote MDT
          pjones Peter Jones made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          pjones Peter Jones added a comment -

          Landed for 2.7

          pjones Peter Jones added a comment - Landed for 2.7

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13172/
          Subject: LU-5767 lfsck: use OUT RPC to create remote orphan parent
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 58ddddb5386951f05c52b8e6f98fcfa8139097d5

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13172/ Subject: LU-5767 lfsck: use OUT RPC to create remote orphan parent Project: fs/lustre-release Branch: master Current Patch Set: Commit: 58ddddb5386951f05c52b8e6f98fcfa8139097d5

          This patch should be landed to master before Lustre-2.7 release to avoid interoperability issues in future.

          yong.fan nasf (Inactive) added a comment - This patch should be landed to master before Lustre-2.7 release to avoid interoperability issues in future.

          Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/13172
          Subject: LU-5767 lfsck: use OUT RPC to create remote orphan parent
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 35a902c02e4eb6f71bcd820e3ea5904f597df9c6

          gerrit Gerrit Updater added a comment - Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/13172 Subject: LU-5767 lfsck: use OUT RPC to create remote orphan parent Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 35a902c02e4eb6f71bcd820e3ea5904f597df9c6
          yong.fan nasf (Inactive) made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          adilger Andreas Dilger made changes -
          Labels New: HB
          jlevi Jodi Levi (Inactive) made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          yong.fan nasf (Inactive) made changes -
          Summary Original: Replace LFSCK RPC with normal OUT RPC to create orphan parent on remote MDT New: LFSCK 3: replace LFSCK RPC with normal OUT RPC to create orphan parent on remote MDT
          yong.fan nasf (Inactive) made changes -
          Fix Version/s New: Lustre 2.7.0 [ 10631 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: