首页 > 其他 > 详细

NFS无法挂载的问题

时间:2019-07-13 12:23:07      阅读:133      评论:0      收藏:0      [点我收藏+]
Describe
nfs无法正常挂载,排查发现原因为rpcbind服务不能正常启动,导致nfs无法挂载。

Env info

centos7.4 x64

Fix the problem CentOS 7 won‘t auto-mount NFS on boot

Append text to the end of /usr/lib/systemd/system/nfs-idmap.service

[Install]
WantedBy=multi-user.target

Append text to the end of /usr/lib/systemd/system/nfs-lock.service

[Install]
WantedBy=nfs.target

Enable related services

systemctl enable nfs-idmapd.service 
systemctl enable rpc-statd.service 

systemctl enable rpcbind.socket

systemctl status nfs-idmapd.service -l
systemctl status rpc-statd.service –l

Then restarted the OS, I got it.

shutdown -r now

参考地址

https://unix.stackexchange.com/questions/211688/cannot-start-nfs-in-centos-7-failed-to-issue-method-call-no-such-file-or-direc


NFS无法挂载的问题

原文:https://blog.51cto.com/linuxmaizi/2419886

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!