nfs server configured but not mounting
Hi every body,
I have configured an nfs server like this #vi /etc/exports /var/ftp/pub *.dell.com(rw,sync) & configured yum server from client yum update is working but by using nfs method if i am trying to mount i am getting this message mount 192.168.0.254:/var/ftp/pub failed,reason given by server:permission denied |
Quote:
Code:
#ls -ld /var/ftp/pub |
The /etc/exports looks wrong to me, the general format is:
/path/to/export subnet(options) so in your guess I would guess you want something like: /var/ftp/pub 192.168.0.0/24 (rw,sync) then run the exportfs command with appropriate flags to reread the config file. What your /etc/exports is doing is allowing only hosts from dell.com to connect to your NFS share, which I kind of doubt was the intention. Now the piece about yum seems out of place to me since yum is used to install software, and is done via ftp/http and has nothing to do with an NFS share. What you would want to do to mount the share is something like: mount hostname:/var/ftp/pub /nfs |
All times are GMT -5. The time now is 04:31 PM. |