Red Hat Bugzilla – Bug 747400
RHEL 6.2 beta rpcdebug has no flag for pNFS debug
Last modified: 2011-12-06 13:54:20 EST
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.
hi Steve, Since I don't have pNFS environment, can I use modinfo or any else command to check the result?
(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.
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
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