Description of problem: NFS服务部署搭建的过程中,在查看服务端是否正常加载/etc/exports配置文件时失败,报错rpc mount export: RPC: Unable to receive; errno = Connection refused Version-Release number of selected component (if applicable): iso下载: https://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/BaseOS/loongarch64/iso/anolis-8-loongarch64-dvd1-20221210.0.iso 源配置: http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-Beta/compose/ How reproducible:100% Steps to Reproduce: 1、安装rpc、nfs服务 yum install rpcbind nfs-utils -y 2、创建共享目录 mkdir /home/nfs/sharefile chmod 666 /home/nfs/sharefile 3、修改nfs配置文件 vim /etc/exports #在文件中添加如下内容,表示允许所有客户端挂载 /home/nfs/sharefile *(rw,sync,insecure,no_subtree_check,no_root_squash) 4、启动rpc、nfs服务 #先启动rpc服务,再启动nfs服务 systemctl start rpcbind.service systemctl status rpcbind.service #启动nfs服务 systemctl start nfs-server.service systemctl status nfs-server.service 5、查看服务端是否正常加载/etc/exports配置文件 showmount -e localhost Actual results: [root@bogon ~]# showmount -e localhost rpc mount export: RPC: Unable to receive; errno = Connection refused Expected results: [root@bogon ~]# showmount -e localhost Export list for localhost: /home/nfs/sharefile * Additional info: 相关软件包: rpcbind-1.2.5-8.0.1.an8.loongarch64 nfs-utils-2.3.3-51.0.1.an8.loongarch64
https://gitee.com/anolis/cloud-kernel/pulls/631 请确认一下内核是否 打了上游这些补丁?
https://gitee.com/src-anolis-os/nfs-utils/pulls/16
(In reply to 葛立伟 from comment #3) > https://gitee.com/src-anolis-os/nfs-utils/pulls/16 暂时在龙芯上disable v4client
已从用户态的角度来修复
已验证,已修复 目前执行showmount -e localhost时,结果显示正常 [root@bogon home]# showmount -e localhost Export list for localhost: /home/nfs/sharefile * 相关软件包: rpcbind-1.2.5-8.0.1.an8.loongarch64 nfs-utils-2.3.3-51.0.3.an8.loongarch64 iso下载: https://mirrors.openanolis.cn/anolis/8.8/isos/RC2/loongarch64/anolis-8.8-loongarch64-dvd.iso 源配置: http://build.openanolis.cn/kojifiles/output/product/an-8-8-loongarch64-RC/compose/