赞
踩
挂载nfs时提示:mount.nfs: access denied by server while mounting 170.250.9.251:/volume2/share/workspace
/etc# cat /var/log/messages | grep mount
refused mount request from 192.168.9.98 for /volume2/share/workspace (/volume2/share/workspace): unmatched host
发现后面是unmatched host,应该是ip地址不匹配的问题
cat /etc/exports
/volume2/share 192.168.9.251(rw,async,no_wdelay,crossmnt,insecure,root_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100)
把文件中的内容192.168.9.251改成192.168.9.0/24,保存退出(这里的IP地址以你自己的为主)
mount -t nfs 192.168.9.251:/volume2/share/workspace /share
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。