nfs配置小结

nfs服务器端配置文件:

vim /etc/exports

共享目录           允许访问主机(访问权限)

/mnt/share       192.168.17.152(rw)

/mnt/share       *(rw)


载入nfs配置信息:

/etc/init.d/nfs reload

exportfs -a


查看本地nfs共享信息:

exportfs -v


查看远程nfs共享:

showmount -e 192.168.17.253


挂载远程nfs:

mount 192.168.17.253:/mnt/share /mnt/test


REF: http://linux.vbird.org/linux_server/0330nfs.php


原文链接: http://blog.csdn.net/t0nsha/article/details/7293210

你可能感兴趣的:(nfs配置小结)