Server端share命令:host就是你的client
验证server配置:
# showmount -e
# showmount -a 那个client当前mounted上来了
Server端:
[PROD root@xxxx:/#] share -o access=xx.xx.1.xx /mnt
[PROD root@xxx:/#] showmount -e
export list for xxx: /mnt 109.120.1.37
[PROD root@xxx:/#] unshareall -----------> 取消share功能
Client端:
[PROD root@xxx:/#] mount xx.xx.1.xx:/mnt /mnt
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31401608/viewspace-2148148/ ,如需转载,请注明出处,否则将追究法律责任。