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 start
2. Start nfs
service nfs start
3. Mount the NFS
mount -v :
example:
mount -v fileserver01:/vol/log01/log /mnt/logs
4. Set into /etc/fstab
example:
fileserver:/vol/ftp/tab /mnt/tab nfs auto,proto=tcp,ro,hard,intr,bg,rsize=32768,wsize=32768 0 0
5. Mount and make sure its there
mount -v -a
mount -l
NOTES:
Verify the firewall rules as well, iptables -L -n
If you want portmapper and nfs to start everytime at startup then as root:
chkconfig portmap on
chkconfig nfs on

Tags: , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *