Bug 441983
Summary: | nfs server does not correctly set parameters on first startup | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Brendan Lynch <brendanplynch> |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.1 | CC: | johnw, tomek |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-20 21:01:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Brendan Lynch
2008-04-11 02:02:16 UTC
*** Bug 249600 has been marked as a duplicate of this bug. *** If the "nfsd" module is loaded into the kernel by modprobe before the nfs service is started the problem goes away. The following output is from a session just after boot, with the nfs service disabled (so it has to be manually started) and the "--no-nfs-version4" parameter specified in /etc/sysconfig/nfs . As is obvious, before the modprobe of nfsd the /proc/fs/nfsd namespace is empty; after it the namespace is populated and the driver parameter setting works. This is on an fc8 system with the latest released kernel. # ls -l /proc/fs/nfsd total 0 # modprobe -v nfsd insmod /lib/modules/2.6.24.4-64.fc8/kernel/fs/exportfs/exportfs.ko insmod /lib/modules/2.6.24.4-64.fc8/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko insmod /lib/modules/2.6.24.4-64.fc8/kernel/fs/nfs_common/nfs_acl.ko insmod /lib/modules/2.6.24.4-64.fc8/kernel/fs/lockd/lockd.ko install /sbin/modprobe --first-time --ignore-install nfsd && { /bin/mount -t nfsd nfsd /proc/fs/nfsd > /dev/null 2>&1 || :; } insmod /lib/modules/2.6.24.4-64.fc8/kernel/fs/nfsd/nfsd.ko # ls -l /proc/fs/nfsd total 0 -r--r--r-- 1 root root 0 2008-04-29 18:59 exports -rw------- 1 root root 0 2008-04-29 18:59 filehandle -rw-r--r-- 1 root root 0 2008-04-29 18:59 max_block_size -rw------- 1 root root 0 2008-04-29 18:59 nfsv4leasetime -rw------- 1 root root 0 2008-04-29 18:59 nfsv4recoverydir -rw------- 1 root root 0 2008-04-29 18:59 pool_threads -rw-r--r-- 1 root root 0 2008-04-29 18:59 portlist -rw------- 1 root root 0 2008-04-29 18:59 threads -rw------- 1 root root 0 2008-04-29 18:59 versions # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100000 4 0 111 portmapper 100000 3 0 111 portmapper 100000 2 0 111 portmapper 100024 1 udp 58293 status 100024 1 tcp 48666 status # service nfs start [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100000 4 0 111 portmapper 100000 3 0 111 portmapper 100000 2 0 111 portmapper 100024 1 udp 58293 status 100024 1 tcp 48666 status 100011 1 udp 691 rquotad 100011 2 udp 691 rquotad 100011 1 tcp 694 rquotad 100011 2 tcp 694 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 48537 nlockmgr 100021 3 udp 48537 nlockmgr 100021 4 udp 48537 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100021 1 tcp 35523 nlockmgr 100021 3 tcp 35523 nlockmgr 100021 4 tcp 35523 nlockmgr 100005 1 udp 52758 mountd 100005 1 tcp 53965 mountd 100005 2 udp 52758 mountd 100005 2 tcp 53965 mountd 100005 3 udp 52758 mountd 100005 3 tcp 53965 mountd 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. fixed in nfs-utils-1.0.9-36.el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0107.html |