mount.nfs: access denied by server while mounting 127.0.0.1:/NfsRoot/rootfs_f5
挂载指令sudo mount -t nfs 127.0.0.1:/NfsRoot/rootfs_f5 /mnt/test1
出错原因:都是绝对路径,应改为sudo mount -t nfs 127.0.0.1:/home/ubuntu/NfsRoot/rootfs_f5 /mnt/test1
这里的挂载路径要与/etc/exports下的共享目录一直,可以通过
showmount -e指令查看共享路径
mount.nfs: access denied by server while mounting 127.0.0.1:
最新推荐文章于 2023-07-21 15:54:45 发布