how to mount between Linux servers

for example, 10.200.13.36 want to mount dir in 10.200.13.35
***** action in 10.200.13.35
vim /etc/hosts.allow
add "ALL : 10.200.13.36"
vim /etc/exports
add "/root/testCRQP rcr-pdbuild2(rw,sync,no_root_squash)"
service portmap restart
service nfsserver restart


if successful, you should see after run:
showmount -e
Export list for rcr-pdbuild1:
/root/testCRQP rcr-pdbuild2
****** action in 10.200.13.36
service portmap restart
service nfsserver restart


if successful, you should see after run:
showmount -e 10.200.13.35
Export list for 10.200.13.35:
/root/testCRQP rcr-pdbuild2


mkdir /root/testCRQP
rcr-pdbuild2:~ # mount -t nfs 10.200.13.35:/root/testCRQP /root/testCRQP

你可能感兴趣的:(how to mount between Linux servers)