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

LFSCK fix inconsistencies in directory migration failure

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      If directory migration fails in the middle, the system may become inconsistent, and some files may get missing. LFSCK should use the informations in directory layout to restore system to consistent mode.

      This will be done in two phases, in the first phase, LFSCK against such directories won't resolve all the inconsistencies, but it shouldn't cause additional issues, and after LFSCK the directories should be accessed, though some file may get lost, while in the second phase, LFSCK should use the informations in directory layout to restore system to consistent mode, and should avoid file missing.

      Attachments

        Issue Links

          Activity

            [LU-15868] LFSCK fix inconsistencies in directory migration failure
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47381/
            Subject: LU-15868 lfsck: don't crash upon dir migration failure
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 54a2d4662b58e2ba4224b0e6b487a0a7cd2f28bb

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47381/ Subject: LU-15868 lfsck: don't crash upon dir migration failure Project: fs/lustre-release Branch: master Current Patch Set: Commit: 54a2d4662b58e2ba4224b0e6b487a0a7cd2f28bb

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47381
            Subject: LU-15868 lfsck: don't crash upon dir migration failure
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ae867573d4c590f1eb8574b410fd4e6735236b10

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47381 Subject: LU-15868 lfsck: don't crash upon dir migration failure Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ae867573d4c590f1eb8574b410fd4e6735236b10

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: