NFS挂载

平台 centos7
192.168.1.100 上的/home 目录挂载到 192.168.1.200 的 /mnt 目录下

192.168.1.100

# yum install rpcbind
# yum install nfs-utils
# service rpcbind start
# service nfs start
# vi /etc/exports
/home  *(rw,sync,no_root_squash,insecure)
# service nfs restart

192.168.1.200

# showmount -e 192.168.1.100
Export list for 192.168.1.100:
/root/RAMCloud 
# mount -t nfs 192.168.1.100:/home /mnt

你可能感兴趣的:(NFS挂载)