用命令sudo mount 192.168.0.104:/nfsboot /mnt挂载时
出现错误:mount.nfs: access denied by server while mounting 192.168.0.104:/nfsboot
发现/etc/exports中添加的命令错了,改为/nfsboot *(rw,sync,no_root_squash)
然后就OK了,主要是这句话的/nfsboot要与自己建立的nfsboot路径一致。
用命令sudo mount 192.168.0.104:/nfsboot /mnt挂载时
出现错误:mount.nfs: access denied by server while mounting 192.168.0.104:/nfsboot
发现/etc/exports中添加的命令错了,改为/nfsboot *(rw,sync,no_root_squash)
然后就OK了,主要是这句话的/nfsboot要与自己建立的nfsboot路径一致。