Bug 747400 - RHEL 6.2 beta rpcdebug has no flag for pNFS debug
Summary: RHEL 6.2 beta rpcdebug has no flag for pNFS debug
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 750914
TreeView+ depends on / blocked
 
Reported: 2011-10-19 17:34 UTC by Andy Adamson
Modified: 2011-12-06 18:54 UTC (History)
3 users (show)

Fixed In Version: nfs-utils-1.2.3-15.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 18:54:20 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1534 0 normal SHIPPED_LIVE Low: nfs-utils security, bug fix, and enhancement update 2011-12-06 01:01:48 UTC

Description Andy Adamson 2011-10-19 17:34:10 UTC
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-20 02:29:02 UTC
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 13:38:32 UTC
(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 05:14:13 UTC
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 18:54:20 UTC
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.