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

lustre utils should support '--version'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.6.0, Lustre 2.7.0
    • Lustre 2.4.0
    • None
    • 3
    • 6646

      # 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.

            jamesanunez James Nunez (Inactive)
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: