NFS on CentOS 5.5
All the proper services are running, all the iptables rules are turned off, and selinux is disabled. I have an almost identical setup as I do have on my private network in the office, but with no luck. My exports file is set to wide open (world read/write) but always get a "permission denied" error - even when trying to mount the share on the box itself.
I'm out of ideas here and there isn't much more hair to pull out. Anyone have any ideas? At this point, I'm willing to put up cash if someone can fix it…
4 Replies
@wiley14:
I have been trying in vein to get NFSd running on a CentOS 5.5 x86 VM. I've read through every message on this board and every single configuration guide regarding NFS out there.
All the proper services are running, all the iptables rules are turned off, and selinux is disabled. I have an almost identical setup as I do have on my private network in the office, but with no luck. My exports file is set to wide open (world read/write) but always get a "permission denied" error - even when trying to mount the share on the box itself.
I'm out of ideas here and there isn't much more hair to pull out. Anyone have any ideas? At this point, I'm willing to put up cash if someone can fix it…
Well, the problem is the sunrpc module isn't compiled in the kernel… If I can figure out how to compile that, I might have a chance…
mnordhoff@cheezum:~$ zgrep SUNRPC /proc/config.gz
CONFIG_SUNRPC=y
You can't load it as a module because it already is loaded.
@mnordhoff:
AFAICT it's compiled into the kernel, not a module.
mnordhoff@cheezum:~$ zgrep SUNRPC /proc/config.gz CONFIG_SUNRPC=y
You can't load it as a module because it already is loaded.
So it is… Hmm… Any ideas why it won't startup then? I tried a fresh install of CentOS and no luck there either. Something is "different" on these linode boxes, I just can't figure out what.
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs auto,defaults 0 0
nfsd /proc/fs/nfsd nfsd auto,defaults 0 0
and restarted NFS - works like a charm now…