| Author |
Message |
wiley14
Joined: 01 Jun 2010
Posts: 5
|
| Posted: Mon Jan 17, 2011 9:56 am Post subject: NFS on CentOS 5.5 |
|
|
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... |
|
| Back to top |
|
wiley14
Joined: 01 Jun 2010
Posts: 5
|
| Posted: Tue Jan 18, 2011 8:33 pm Post subject: Re: NFS on CentOS 5.5 |
|
|
wiley14 wrote: 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... |
|
| Back to top |
|
mnordhoff
Joined: 03 May 2008
Posts: 451
|
| Posted: Tue Jan 18, 2011 8:39 pm Post subject: |
|
|
AFAICT it's compiled into the kernel, not a module.
Code: mnordhoff@cheezum:~$ zgrep SUNRPC /proc/config.gz
CONFIG_SUNRPC=y
You can't load it as a module because it already is loaded. |
|
| Back to top |
|
wiley14
Joined: 01 Jun 2010
Posts: 5
|
| Posted: Tue Jan 18, 2011 8:43 pm Post subject: |
|
|
mnordhoff wrote: AFAICT it's compiled into the kernel, not a module.
Code: 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. |
|
| Back to top |
|
wiley14
Joined: 01 Jun 2010
Posts: 5
|
| Posted: Tue Jan 18, 2011 9:24 pm Post subject: *RESOLVED* |
|
|
Added these lines to /etc/fstab
Code:
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... |
|
| Back to top |
|
| |