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

Running lfsck with dry-run (-n) should not move orphan obhect to lost+found

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Lustre 2.10.0, Lustre 2.11.0, Lustre 2.12.0, Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      For the OST orphan issue we had reported we had a chance to run lfsck at the maintenance window last month. We ran lfsck with dry-run "-r -n -o", but actually (unexpectedly) it moved orphans to lost+found. It should not fix orphans as it is dry-run.

      Attachments

        Activity

          [LU-12974] Running lfsck with dry-run (-n) should not move orphan obhect to lost+found
          pjones Peter Jones added a comment -

          Landed for 2.14

          pjones Peter Jones added a comment - Landed for 2.14

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36767/
          Subject: LU-12974 lfsck: dryrun mode shouldn't repair for layout
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 983d48a8a96c1b9759e3da4a5cb3e4c9531217ed

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36767/ Subject: LU-12974 lfsck: dryrun mode shouldn't repair for layout Project: fs/lustre-release Branch: master Current Patch Set: Commit: 983d48a8a96c1b9759e3da4a5cb3e4c9531217ed
          pjones Peter Jones added a comment - https://review.whamcloud.com/#/c/36767

          People

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

            Dates

              Created:
              Updated:
              Resolved: