NFSv4不添加到rpc

我正在使用Debiantesting,尽pipe我已经在/ etc / default / nfs-common中添加了NEED_IDMAPD =“yes”。

我的出口文件是:

/ nfs4exports 192.168.10.0/24(ro,fsid=0,no_subtree_check,sync,root_squash)

/ nfs4exports / home 192.168.10.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_check)

但rpcinfo -p只显示nfs版本2和3

100003 2 tcp 2049 nfs

100003 3 tcp 2049 nfs

100003 2 udp 2049 nfs

100003 3 udp 2049 nfs

这是重新启动nfs-common和nfs-kernel-server之后的dmesg相关的消息:

[1390754.762064] svc:127.0.0.1,port = 1016:未知版本(prog为100003,nfsd为4)[1390756.912773] svc:127.0.0.1,port = 1017:未知版本(0为prog 100003,nfsd)[1391147.296468] nfsd :最后一台服务器已经退出,刷新导出caching[1391169.125568] nfsd:最后一台服务器退出,刷新导出caching[1391301.401115] nfsd:最后一台服务器退出,刷新导出caching[1391422.691600] nfsd:最后一台服务器退出,刷新导出caching

我已经确定内核有NFSv4支持(但不是NFSv41),我正在arm架构下运行它。

谢谢!!!

我错过了读取内核configuration,它是用NFSv4客户端支持而不是服务器编译的