NFS共享无法使用

61次阅读

共计 735 个字符,预计需要花费 2 分钟才能阅读完成。

局域网的 KODI 不能搜到 NFS 服务器,在另外一台 debian 上手动挂载也不成功,求大佬指点
nfs 服务器配置:
[email protected]:~# cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients.See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homesgss/krb5i(rw,sync,no_subtree_check)
#
/mnt/gdrive 192.168.2.*(rw,sync,no_subtree_check) 复制代码
debian 客户端手动连接显示不允许:
[email protected]:~# showmount -e 192.168.2.211
Export list for 192.168.2.211:
/mnt/gdrive 192.168.2.*
[email protected]:~# mount -t nfs 192.168.2.211:/mnt/gdrive /mnt/gdrive-o proto=tcp -o nolock
mount.nfs: Operation not permitted 复制代码

再顶下

正文完
 0