Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Long form of "nfsstat -m" is documented in "nfsstat --help" and "man nfsstat" as --mounts. However, it actually appears to be "nfsstat --mount" (singluar)
Version-Release number of selected component (if applicable):
1.3.0-0.33.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. yum install nfs-utils
2. nfsstat --help
3. nfsstat --mounts
Actual results:
nfsstat --help
Usage: nfsstat [OPTION]...
-m, --mounts Show statistics on mounted NFS filesystems
-c, --client Show NFS client statistics
-s, --server Show NFS server statistics
-2 Show NFS version 2 statistics
-3 Show NFS version 3 statistics
-4 Show NFS version 4 statistics
-o [facility] Show statistics on particular facilities.
nfs NFS protocol information
rpc General RPC information
net Network layer statistics
fh Usage information on the server's file handle cache
rc Usage information on the server's request reply cache
all Select all of the above
-v, --verbose, --all Same as '-o all'
-r, --rpc Show RPC statistics
-n, --nfs Show NFS statistics
-Z[#], --sleep[=#] Collects stats until interrupted.
Cumulative stats are then printed
If # is provided, stats will be output every
# seconds.
-S, --since file Shows difference between current stats and those in 'file'
-l, --list Prints stats in list format
--version Show program version
--help What you just did
# nfsstat --mounts
nfsstat: unrecognized option '--mounts'
# nfsstat --mount
#
Expected results:
nfsstat --mounts to work
Additional info:
Please either make the option work or fix the help text and the man page
commit b587496ba83ac7da31a33a0e1fd533773f3240ce
Author: Steinar H. Gunderson <sgunderson>
Date: Mon Mar 10 14:55:47 2008 -0400
Fixed a couple typos that effected the '--mounts' nfsstat option
Signed-off-by: Steinar H. Gunderson <sgunderson>
Signed-off-by: Steve Dickson <steved>
By comparing test results among previous and current nfs-utils versions, this issue has been resolved on target version (nfs-utils-1.3.0-0.40.el7):
- Previous - nfs-utils-1.3.0-0.38.el7.x86_64
[23:55:49 root@ ~~]# nfsstat --mounts
nfsstat: unrecognized option '--mounts'
Try `nfsstat --help' for more information.
[23:56:58 root@ ~~]# echo $?
255
- Current - nfs-utils-1.3.0-0.40.el7.x86_64
[23:56:56 root@ ~~]# nfsstat --mounts
<--snip-->
[23:56:58 root@ ~~]# echo $?
0
Moved to VERIFIED according to comment 5/6, will expand test coverage on "equivalent command options" and include this case in future RHEL-7.4 tests.
Thanks,
ChunYu Wang
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:2233
Description of problem: Long form of "nfsstat -m" is documented in "nfsstat --help" and "man nfsstat" as --mounts. However, it actually appears to be "nfsstat --mount" (singluar) Version-Release number of selected component (if applicable): 1.3.0-0.33.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. yum install nfs-utils 2. nfsstat --help 3. nfsstat --mounts Actual results: nfsstat --help Usage: nfsstat [OPTION]... -m, --mounts Show statistics on mounted NFS filesystems -c, --client Show NFS client statistics -s, --server Show NFS server statistics -2 Show NFS version 2 statistics -3 Show NFS version 3 statistics -4 Show NFS version 4 statistics -o [facility] Show statistics on particular facilities. nfs NFS protocol information rpc General RPC information net Network layer statistics fh Usage information on the server's file handle cache rc Usage information on the server's request reply cache all Select all of the above -v, --verbose, --all Same as '-o all' -r, --rpc Show RPC statistics -n, --nfs Show NFS statistics -Z[#], --sleep[=#] Collects stats until interrupted. Cumulative stats are then printed If # is provided, stats will be output every # seconds. -S, --since file Shows difference between current stats and those in 'file' -l, --list Prints stats in list format --version Show program version --help What you just did # nfsstat --mounts nfsstat: unrecognized option '--mounts' # nfsstat --mount # Expected results: nfsstat --mounts to work Additional info: Please either make the option work or fix the help text and the man page