我正在尝试通过 NFS 向其他 PC 共享目录。为此,我想在 PC 上运行 NFS 服务器并提供 NFS 共享。/etc/exports
我已添加:
/path <ip_of_pc_that_mounts>(ro,sync,root_squash,subtree_check)
并更新了出口:
exportfs -r
当我检查托管 NFS 服务器的 PC 上的可用挂载点时,出现错误:
# showmount -e
clnt_create: RPC: Authentication error
我正在运行 Ubuntu 22.04。我检查了大多数其他相关服务和进程,它们似乎正在运行(nfs.server
、、nfs.mountd
rpc 进程和 nfs 进程)。