Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • Lustre 2.11.0
    • None
    • 9223372036854775807

    Description

      lfs mirror verify [--only <mirror_id,mirror_id[,...]>] [--verbose|-v] <mirrored file> [<mirrored file2>...]
      

      This command verifies that each SYNC mirror of a mirrored file specified by the path name "mirrored file" contains exactly the same data. It supports specifying multiple mirrored files in one command line.

      This is a scrub tool that should be run in regular basis to make sure that mirrored files are not corrupted. The command won't repair the file if it turns out to be corrupted.

      Usually administrator should check the file content from each mirror and decide which one is correct and then invoke “lfs mirror resync” to repair it manually.

      If --only <mirror_id,mirror_id[,...]> option is specified, then the command will verify the mirrors specified by mirror_ids contain exactly the same data. At least two mirror ids are needed. This option cannot be used when multiple mirrored files are specified.

      If --verbose|-v option is specified, then the command will print where the differences are if the data do not match. Otherwise, the command will just return an error in that case.

      Attachments

        Issue Links

          Activity

            [LU-10287] "lfs mirror verify" command
            yujian Jian Yu made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Priority Original: Minor [ 4 ] New: Critical [ 2 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Issue Type Original: Task [ 3 ] New: Improvement [ 4 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Link New: This issue is related to LU-9771 [ LU-9771 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Parent Original: LU-9771 [ 47229 ]
            Issue Type Original: Technical task [ 7 ] New: Task [ 3 ]
            yujian Jian Yu made changes -
            Description Original: {noformat}
            lfs mirror verify [--only <mirror_id[,...]>] [--verbose|-v] <mirrored_file> [<mirrored_file2>...]
            {noformat}

            This command verifies that each SYNC mirror of a mirrored file specified by the path name mirrored_file contains exactly the same data. It supports specifying multiple mirrored files in one command line.
            This is a scrub tool that should be run in regular basis to make sure that mirrored files are not corrupted. The command won't repair the file if it turns out to be corrupted.
            Usually administrator should check the file content from each mirror and decide which one is correct and then invoke “lfs mirror resync” to repair it manually.
            If --only <mirror_id[,...]> option is specified, then the command will verify the mirror(s) specified by mirror_id(s) contains exactly the same data as the other mirrors for the mirrored file. This option cannot be used when multiple mirrored files are specified.
            If --verbose|-v option is specified, then the command will print where the differences are if the data does not match. Otherwise, the command will just return an error in that case.
            New: {noformat}
            lfs mirror verify [--only <mirror_id,mirror_id[,...]>] [--verbose|-v] <mirrored file> [<mirrored file2>...]
            {noformat}

            This command verifies that each SYNC mirror of a mirrored file specified by the path name "mirrored file" contains exactly the same data. It supports specifying multiple mirrored files in one command line.

            This is a scrub tool that should be run in regular basis to make sure that mirrored files are not corrupted. The command won't repair the file if it turns out to be corrupted.

            Usually administrator should check the file content from each mirror and decide which one is correct and then invoke “lfs mirror resync” to repair it manually.

            If --only <mirror_id,mirror_id[,...]> option is specified, then the command will verify the mirrors specified by mirror_ids contain exactly the same data. At least two mirror ids are needed. This option cannot be used when multiple mirrored files are specified.

            If --verbose|-v option is specified, then the command will print where the differences are if the data do not match. Otherwise, the command will just return an error in that case.
            jay Jinshan Xiong (Inactive) made changes -
            Labels New: FLR FLR2
            yujian Jian Yu made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            yujian Jian Yu created issue -

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: