本文主要是介绍Linux mount.nfs: access denied by server while mounting,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
nfs远程挂载异常
mount -t nfs 172.*.*.13:/app/tomcat/webapps/test/fileUpload /app/tomcat/webapps/test/fileUpload
mount.nfs: access denied by server while mounting 172.*.*.13:/app/tomcat/webapps/test/fileUpload
解决方案
#修改NFS配置文件
vim /etc/exports
#增加一行 /app/tomcat/webapps/test/fileUpload/ 172.*.*.18(rw,sync,no_root_squash)#重启服务
service nfs restart#重启挂载
mount -t nfs 172.*.*.13:/app/tomcat/webapps/test/fileUpload /app/tomcat/webapps/test/fileUpload
这篇关于Linux mount.nfs: access denied by server while mounting的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!