Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 747400 - RHEL 6.2 beta rpcdebug has no flag for pNFS debug
RHEL 6.2 beta rpcdebug has no flag for pNFS debug
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils (Show other bugs)
6.2
Unspecified Linux
unspecified Severity medium
: rc
: ---
Assigned To: Steve Dickson
Red Hat Kernel QE team
:
Depends On:
Blocks: 750914
  Show dependency treegraph
 
Reported: 2011-10-19 13:34 EDT by Andy Adamson
Modified: 2011-12-06 13:54 EST (History)
3 users (show)

See Also:
Fixed In Version: nfs-utils-1.2.3-15.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 13:54:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1534 normal SHIPPED_LIVE Low: nfs-utils security, bug fix, and enhancement update 2011-12-05 20:01:48 EST

  None (edit)
Description Andy Adamson 2011-10-19 13:34:10 EDT
Description of problem: Customers and developers using rpcdebug cannot turn on
pnfs debugging. 


Version-Release number of selected component (if applicable):
RHEL 6.2 beta 2.6.32.209.el6


How reproducible:
100%


Steps to Reproduce:
1.run rpcdebug -vh
2.
3.
  
Actual results:

for the nfs module, no flag for pnfs

Expected results:

Expect a pnfs flag option


Additional info:

NFSDBG_PNFS and NFSDBG_PNFS_LD should be activated with an rpcdebug nfs 
module pnfs flag.

This will allow more pin-point debugging of pNFS related client problems.
Comment 2 yanfu,wang 2011-10-19 22:29:02 EDT
hi Steve,
Since I don't have pNFS environment, can I use modinfo or any else command to check the result?
Comment 3 Steve Dickson 2011-10-20 09:38:32 EDT
(In reply to comment #2)
> hi Steve,
> Since I don't have pNFS environment, can I use modinfo or any else command to
> check the result?
Hello,

Well pNFS is a tech preview RHEL6.2 which means it not officially 
supported because tech previews don't go through our normal 
QE process... but I have outlined how to set up pNFS env 
in  https://bugzilla.redhat.com/show_bug.cgi?id=746839#c2

Now how I tested this was to do a 'rpcdebug -m nfs -s pnfs'
then cat /proc/sys/sunrpc/nfs_debug to make sure it had
the appropriate value. In this case the value would be 4096.
Comment 6 yanfu,wang 2011-10-25 01:14:13 EDT
reproduced on nfs-utils-1.2.3-13.el6:
[root@hp-magnycours-01 ~]# rpm -qa|grep nfs-utils
nfs-utils-lib-1.1.5-4.el6.x86_64
nfs-utils-1.2.3-13.el6.x86_64
[root@hp-magnycours-01 ~]# rpcdebug -m nfs -s pnfs
rpcdebug: unknown module or flag nfs/pnfs
[root@hp-magnycours-01 ~]# cat /proc/sys/sunrpc/nfs_debug
0

verified on nfs-utils-1.2.3-15.el6:
[root@hp-magnycours-01 ~]# rpcdebug -m nfs -s pnfs
nfs        pnfs
[root@hp-magnycours-01 ~]# cat /proc/sys/sunrpc/nfs_debug
4096
Comment 7 errata-xmlrpc 2011-12-06 13:54:20 EST
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.

http://rhn.redhat.com/errata/RHSA-2011-1534.html

Note You need to log in before you can comment on or make changes to this bug.