Install Servicio NFS
Install Servicio NFS
Install Servicio NFS
/etc/init.d/nfs start
/etc/init.d/nfs start
vim /etc/exports
/var/spool/asterisk/voicemail/default/ 209.45.69.47(rw,sync,no_root_squash,no_all_squash)
/var/lib/asterisk/sounds/ivr/ 209.45.69.47(rw,sync,no_root_squash,no_all_squash)
Reiniciar el servicio:
/etc/init.d/nfs restart
Crear el punto de montaje para montar los directorios compartidos del servidor.
mkdir -p /nfs/voicemail
mkdir -p /nfs/ivr
#MOUNTD_NFS_V2="no"
#MOUNTD_NFS_V3="no"
#RQUOTAD="/usr/sbin/rpc.rquotad"
RQUOTAD_PORT=875
#RPCRQUOTADOPTS=""
#LOCKDARG=
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
#RPCNFSDARGS="-N 2 -N 3"
#RPCNFSDARGS="-N 4"
#RPCNFSDCOUNT=8
#NFSD_MODULE="noload"
# Set V4 grace period in seconds
#NFSD_V4_GRACE=90
#RPCMOUNTDOPTS=""
MOUNTD_PORT=892
#STATDARG=""
STATD_PORT=662
# is random
STATD_OUTGOING_PORT=2020
#STATD_HA_CALLOUT="/usr/local/bin/foo"
#RPCIDMAPDARGS=""
#SECURE_NFS="yes"
#RPCGSSDARGS=""
#RPCSVCGSSDARGS=""
#
#RDMA_PORT=20049
/etc/init.d/nfs restart
En el Servidor:
#NFS Server
#NFS Server
En el Cliente:
#NFS Cliente
#Adicionar 2 lineas (tcp y udp) para conexion al Servidor, eth0 interfase de NFS
#Adicionar 2 lineas (tcp y udp) para conexion al Servidor, eth0 interfase de NFS
/etc/init.d/iptables restart
Por último, el recurso compartido NFS está montada sin ningún error.
total 32
total 240
[root@pbxdes-rest1 ~]#
REFERENCIAS:
http://ostechnix.com/2013/12/15/setup-nfs-server-in-centos-rhel-scientific-linux-6-3-step-by-
step/
http://www.unixmen.com/nfs-server-installation-and-configuration-in-centos-6-3-rhel-6-3-
and-scientific-linux-6-3/
http://computernetworkingnotes.com/network-administration/how-to-configure-nfs-server-
in-rhel-6.html