How to connect NFS with a specfic user under CentOS/RedHat 6

How to connect NFS with a specfic user under CentOS/RedHat 6 ##SERVER SIDE## 1. On server side must have the insecure option enabled edit /etc/exports /exports/real 192.17.36.147/255.255.255.255(rw,nohide,insecure,no_subtree_check,sync) 2. Make the change exportfs -ra 3. Make sure it is running rpcinfo […]

Tags: , , ,

How to connect to a NFS server share

The RedHat linux client that will connect to a NFS server. Needs to have portmap and if you dont want dynamic ports, enter static ports into /etc/sysconfig/nfs, for example: RQUOTAD_PORT=875 LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STATD_PORT=662 STATD_OUTGOING_PORT=2020 1. Start portmap service portmap […]

Tags: , , , , , ,

mountd: refused mount request: unmatched host

mountd: refused mount request: unmatched host Most likely the problem is on /etc/exports, add your IP or range after the directory you want to share. vim /etc/exports /opt/smr 172.17.0.0/16(rw,sync,no_root_squash) Check also /etc/hosts.allow /etc/hosts.deny Good material for troubleshooting: http://www.cs.bgu.ac.il/~arik/usail/network/nfs/tips.html http://osr507doc.sco.com/en/PERFORM/NFS_monitoring.html http://tldp.org/HOWTO/NFS-HOWTO/troubleshooting.html […]

Tags: , , , , ,