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

lustre_rsync usage message is wrong and incomplete

Details

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

    Description

      The -r option description in the lustre_rsync usage message is wrong:

      m:~# lustre_rsync
      Please specify changelog consumer registration id.
          lustre_rsync -s <lustre_root_path> -t <target_path> -m <mdt> -r <user id> -l <status log>
      lustre_rsync can also pick up parameters from a status log created earlier.
          lustre_rsync -l <log_file>
      options:
          --xattr <yes|no> replicate EAs
          --abort-on-err   abort at first err
          --verbose
          --dry-run        don't write anything
      

      We should give the short and long options in the help message.
      We should also support --help.
      Unrecognized options should print the short usage message. Only --help should print the long usage message. And --help should print options to stdout.

      Attachments

        Issue Links

          Activity

            [LU-10249] lustre_rsync usage message is wrong and incomplete
            pjones Peter Jones added a comment -

            Merged for 2.17

            pjones Peter Jones added a comment - Merged for 2.17

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56407/
            Subject: LU-10249 utils: Fix lustre_rsync program options
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 45cb8d54700c6c4b42d4d3e40b38cb05bad0494b

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56407/ Subject: LU-10249 utils: Fix lustre_rsync program options Project: fs/lustre-release Branch: master Current Patch Set: Commit: 45cb8d54700c6c4b42d4d3e40b38cb05bad0494b

            "Marc Vef <mvef@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56407
            Subject: LU-10249 utils: Fix lustre_rsync program options
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c0ade2a9ebe26797283431eac192bb310a9d548c

            gerrit Gerrit Updater added a comment - "Marc Vef <mvef@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56407 Subject: LU-10249 utils: Fix lustre_rsync program options Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c0ade2a9ebe26797283431eac192bb310a9d548c

            People

              mvef Marc Vef
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: