1. clnt_create: RPC: Program not registered 是由于你nfs服务器没有启动,可通过service nfs start 启动 2. mount.nfs: access denied by server while mounting 从出错日志可以看出,mount.nfs: access denied by server while
mounting 192.168.3.12:/home/lzgonline/rootfs
被拒绝的原因是因为使用了非法端口,功夫总没白费,终于在一个linux技术论坛上找到了答案: I googled and found that since the port is over 1024 I needed to add the "insecure" option to the relevant line in /etc/exports on the server. Once I did that (and ran exportfs -r), the mount -a on the client worked. //如果端口号大于1024,则需要将 insecure 选项加入到配置文件(/etc/exports)相关选项中mount客户端才能正常工作: |
|
来自: langhuayipian > 《linux commd》