-
mount.nfs: No such device
执行:modprobe nfs -
mount.nfs: access denied by server while mounting*****
修改server端
- 在/etc/exports 文件中加入
/workspace *(sync,rw,no_root_squash,no_subtree_check) //workspace 指的是你要挂载的目录
- 重启nfs服务
sudo service nfs-kernel-server restart
3.客户端
mount -t nfs -o nolock -o vers=2 192.168.1.240:/workspace/usr/ /usr/