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

FLR1.5: add "lfs mirror delete" command

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.12.0
    • 9223372036854775807

    Description

      Using "lfs mirror split --destroy" is not a very obvious way to remove mirrors from a file. It would be useful to add "lfs mirror delete" (with a man page, of course) to do the same thing.

      The lfs mirror split command currently requires specifying an explicit mirror ID, but it would be more useful to allow lfs mirror delete to directly use lfs getstripe options like --comp-flags=prefer or --pool=flash to remove replicas.

      Attachments

        Issue Links

          Activity

            [LU-11467] FLR1.5: add "lfs mirror delete" command
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36185/
            Subject: LU-11467 utils: add lfs mirror delete command
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6d0e247cfc956dae1148aad054bb3d100c8863c9

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36185/ Subject: LU-11467 utils: add lfs mirror delete command Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6d0e247cfc956dae1148aad054bb3d100c8863c9

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36185
            Subject: LU-11467 utils: add lfs mirror delete command
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 041b9a33a71ce5a14083946ea45846bb918bc44a

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36185 Subject: LU-11467 utils: add lfs mirror delete command Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 041b9a33a71ce5a14083946ea45846bb918bc44a
            adilger Andreas Dilger added a comment - - edited

            It would also be useful to add a "lfs mirror flags {--comp-id=N|--pool} --comp-flags={prefer,nosync} <file> ..." command to set the flags on a specific mirror, which is the same as the "lfs setstripe --comp-flags" command that already exists, but is not easily found.

            adilger Andreas Dilger added a comment - - edited It would also be useful to add a " lfs mirror flags {--comp-id=N|--pool} --comp-flags={prefer,nosync} <file> ... " command to set the flags on a specific mirror, which is the same as the " lfs setstripe --comp-flags " command that already exists, but is not easily found.

            People

              yujian Jian Yu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: