[LU-2740] lustre utils should support '--version' Created: 02/Feb/13 Updated: 09/Dec/16 Resolved: 16/Jul/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.6.0, Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| 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. |
| Comments |
| Comment by James Nunez (Inactive) [ 08/Jul/14 ] |
|
Proposed patch at: http://review.whamcloud.com/#/c/11014/ |
| Comment by James Nunez (Inactive) [ 15/Jul/14 ] |
|
The patch http://review.whamcloud.com/#/c/11014/ added a version string to mount.lustre, mkfs.lustre, lfs.c, and lctl.c. Should a version string be added to other Lustre utilities? Candidate configuration utilities, from the Lustre manual, are: |
| Comment by Jodi Levi (Inactive) [ 16/Jul/14 ] |
|
Patch landed to Master. |