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.
Bug 790961 - pNFS: Auto-load the pNFS kernel module
Summary: pNFS: Auto-load the pNFS kernel module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 6.3
Assignee: nfs-maint
QA Contact: Filesystem QE
URL:
Whiteboard: pNFS
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-15 19:57 UTC by Steve Dickson
Modified: 2013-03-04 00:22 UTC (History)
3 users (show)

Fixed In Version: kernel-2.6.32-241.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 08:25:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux 6 kernel security, bug fix and enhancement update 2012-06-20 12:55:00 UTC

Description Steve Dickson 2012-02-15 19:57:30 UTC
Description of problem:

Today for the pNFS module to be auto loaded when the --minorversion=1 mount option is used, an entry in /etc/modprobe.conf needs to be added or a file in /etc/modprob.d has to be created. Lets simply this by embedding the necessary alias into the kernel module code. Basically back porting 

commit f85ef69ce08bc2209858135328335f668ba35bdb
Author: J. Bruce Fields <bfields>
Date:   Fri Jul 15 19:18:42 2011 -0400

    pnfs: simplify pnfs files module autoloading
    
    Embed the necessary alias into the module rather than waiting for
    someone to add it to /etc/modprobe.conf
    
    Signed-off-by: J. Bruce Fields <bfields>
    Signed-off-by: Trond Myklebust <Trond.Myklebust>

Comment 1 RHEL Program Management 2012-02-15 20:09:30 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 3 Aristeu Rozanski 2012-02-28 17:03:43 UTC
Patch(es) available on kernel-2.6.32-241.el6

Comment 6 Jian Li 2012-03-09 10:55:48 UTC
Hi Steve,

How to test this bug, what's the function of module alias? When I mount with option --minorversion=1 to pnfs server which support file layout, will nfs_layout_nfsv41_files be installed automatically?

Comment 7 Steve Dickson 2012-03-09 12:41:37 UTC
(In reply to comment #6)
> Hi Steve,
> 
> How to test this bug, what's the function of module alias? When I mount with
> option --minorversion=1 to pnfs server which support file layout, will
> nfs_layout_nfsv41_files be installed automatically?
Yes... After the mount with the -o minorversion=1 option, simply
do a 'lsmod | grep nfs' to ensure the nfs_layout_nfsv41_files module
was loaded.

Comment 8 Jian Li 2012-03-13 03:25:55 UTC
This bug is tested by newpynfs. Two nfspynfs tasks is started:
1. 
#./nfs4server.py --is_ds -r --use_files --port=30000 --dataservers=/root/ds.conf
2.
#./nfs4server.py -r --use_files --dataservers=/root/ds.conf

ds.conf:
***
localhost:30000/files

Then mount with such command:
#mount localhost:/files /mnt/test -o vers=4,minorversion=1

check module with 
#lsmod | grep nfs

and get:
***
nfs_layout_nfsv41_files    18540  1
nfs                   402752  2 nfs_layout_nfsv41_files
lockd                  74270  1 nfs
fscache                46859  1 nfs
nfs_acl                 2647  1 nfs
auth_rpcgss            44895  1 nfs
sunrpc                263580  11 nfs_layout_nfsv41_files,nfs,lockd,nfs_acl,auth_rpcgss

Comment 10 errata-xmlrpc 2012-06-20 08:25:30 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-2012-0862.html


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