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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: