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

lustre utils should support '--version'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.4.0
    • Fix Version/s: Lustre 2.6.0, Lustre 2.7.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      6646

      Description

      # mount.lustre --version
      mount.lustre: unrecognized option '--version'
      ...
      # lfs --version
      Try interactive use without arguments or use one of:
      "setstripe"
      "getstripe"
      ...
      # lctl --version
      Try interactive use without arguments or use one of:
      "===== metacommands ======="
      "--device"
      ...
      
      # lfsck --version
      lfsck 1.42.6.wc2 (10-Dec-2012)
      
      usage: lfsck [-cdfhlnv] --mdsdb mdsdb --ostdb ostdb1 [ostdb2 ...] filesystem
      
      	-m|--mdsdb mdsdb  MDS database from e2fsck --mdsdb
      	-o|--ostdb ostdb  OST databases from e2fsck --ostdb
      	filesytem         full path of lustre mountpoint
      ...
      # echo $?
      16
      

      Also ensure that exit status is 0 on handling --version.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamesanunez James Nunez
                Reporter:
                jhammond John Hammond
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: