8 Star 0 Fork 20

src-openEuler / nfs-utils

 / 详情

【21.09】【arm/x86】设置nfs的ip共享后远程挂载失败,报错:mount.nfs: access denied by server while mounting...

已验收
缺陷
创建于  
2021-09-14 17:00

【标题描述】设置nfs的ip共享后远程挂载失败,报错:mount.nfs: access denied by server while mounting...
【环境信息】
OS:21.09版本
repo源:everything,OS
[root@localhost]# cat /etc/openEuler-latest
openeulerversion=openEuler-21.09
compiletime=2021-09-13-07-52-16
gccversion=10.3.1-20210827.4.oe1
kernelversion=5.10.0-5.10.0.24.oe1
【问题复现步骤】
具体操作步骤:
1、服务端:
systemctl stop firewalld
iptables -F
yum install nfs-utils -y
mkdir /home/nfs
chmod 777 /home/nfs
mv /etc/exports /etc/exports.bak
echo '/home/nfs 客户端ip(rw,sync,all_squash)' >/etc/exports
exportfs -avr
systemctl restart nfs-server rpcbind
2、客户端
dnf install -y nfs-utils
systemctl stop firewalld
iptables -F
mkdir /home/client
systemctl restart nfs-server rpcbind
mount -t nfs 服务端ip:/home/nfs /home/client

出现概率(是否必现,概率性错误)
【预期结果】
挂载成功
【实际结果】
挂载失败
【附件信息】
输入图片说明

评论 (3)

mazenggang 创建了缺陷
mazenggang 计划开始日期设置为2021-09-14
mazenggang 计划截止日期设置为2021-09-21
mazenggang 优先级设置为主要
mazenggang 关联仓库设置为src-openEuler/nfs-utils
展开全部操作日志

Hi mazenggang3, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Storage, and any of the maintainers: @lzqnewword, @zero, @liuzhiqiang, @linfeilong835, @louhongxiang.

openeuler-ci-bot 添加了
 
sig/Storage
标签
mazenggang 修改了描述
mazenggang 修改了标题
small_leek 负责人设置为liuzhiqiang

按照复现步骤本地挂载正常。出现问题的现场,通过tcpdump抓包,服务端和客户端没有网络包通信,请排查网络。

经验证是网络不通原因导致用例不通过,服务端和客户端网段设置相同后,测试通过,关闭此单

mazenggang 任务状态待办的 修改为已完成
mazenggang 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 8159277 wenchao hao 1605324588 7863432 mazenggang3 1672821803
1
https://gitee.com/src-openeuler/nfs-utils.git
git@gitee.com:src-openeuler/nfs-utils.git
src-openeuler
nfs-utils
nfs-utils

搜索帮助