Red Hat Bugzilla – Bug 410411
NFS v.4 not available in diskless machines
Last modified: 2008-07-24 15:33:14 EDT
Description of problem:
/var/lib/nfs/rpc_pipefs/ filesystem is not properly mounted in diskless machines.
Compare normal machine (booting from HDD):
/var/lib/nfs/rpc_pipefs/ directory is mounted via the sunrpc kernel module
Diskless machine (booting from net):
/var/lib/nfs/rpc_pipefs/ is mounted on NFS server, snapshot directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
/var/lib/nfs/rpc_pipefs should be always mounted via sunrpc kernel module,
otherwise NFSv4 functionality (idmapd) is broken.
As I stated before, I am stuck to the oficial system-config-netboot version
0.1.40 so I can not if this was not fixed in the latest version.
If not, the quick fix (or workaround) is to add the following:
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
in /etc/fstab for the diskless machines. I do not think it is the most "elegant"
I think it should be mounted by modprobe rules, but this does not seem to work,
even if /var/lib/nfs/rpc_pipefs is empty.
Adding proper mount command to disklessrc works fine.
Created attachment 290950 [details]
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
Created attachment 293593 [details]
New patch without unnecessary lines.
The explicit mount command is needed because NFS modules are loaded too early,
even before the mount point (/var/lib/nfs/rpc_pipefs) is available. The normal
mount thus fails.
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.