linux下nfs在客户端无法挂载,linux – 无法挂载nfs卷 – 超时

用户遇到Linux NFSv3文件服务器在维护重启后无法被客户端挂载的问题。服务器为OpenSUSE,客户端尝试挂载时显示服务器无响应。尽管通过showmount和ping验证了服务器可达且导出正确配置。

我有一个

Linux文件服务器的NFSv3导出,用于挂载罚款.文件服务器必须关闭以进行硬件维护.恢复服务器后,Linux客户端无法再挂载nfs导出.

服务器或客户端上的配置均未更改.我做了软件更新并在第一次安装失败后重新启动客户端,但这没有帮助.

[root@client ~]# showmount -e ark

Export list for ark:

/mnt/bigraid *

[root@client ~]# mount -t nfs ark:/mnt/bigraid raid

它只是悬在这一点上.在另一个终端……

[root@client ~]# dmesg | tail

[ 2526.676437] nfs: server ark not responding, timed out

[ 2529.183107] nfs: server ark not responding, timed out

[ 2531.689778] nfs: server ark not responding, timed out

[ 2538.196432] nfs: server ark not responding, timed out

[ 2540.703107] nfs: server ark not responding, timed out

[ 2543.209767] nfs: server ark not responding, timed out

[ 2545.716436] nfs: server ark not responding, timed out

[ 2548.223098] nfs: server ark not responding, timed out

[ 2550.729775] nfs: server ark not responding, timed out

[ 2557.236435] nfs: server ark not responding, timed out

……好的,但是我可以通过showmount看到导出…

[root@client ~]# ping ark

PING ark.homebase (10.10.10.2) 56(84) bytes of data.

64 bytes from ark.homebase (10.10.10.2): icmp_seq=1 ttl=64 time=0.067 ms

64 bytes from ark.homebase (10.10.10.2): icmp_seq=2 ttl=64 time=0.043 ms

64 bytes from ark.homebase (10.10.10.2): icmp_seq=3 ttl=64 time=0.048 ms

64 bytes from ark.homebase (10.10.10.2): icmp_seq=4 ttl=64 time=0.042 ms

^C

--- ark.homebase ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 2999ms

所以我不明白.

服务器正在运行OpenSUSE.我确保防火墙已关闭(不是以前的防火墙)并且网络连接似乎很好.

ark:/etc # cat exports

/mnt/bigraid *(rw,root_squash,insecure,no_subtree_check,sync)

编辑:这是正在使用的RPC端口列表

ark:/etc/init.d # rpcinfo -p

program vers proto port

100000 2 tcp 111 portmapper

100005 1 udp 37599 mountd

100005 1 tcp 33880 mountd

100005 2 udp 37599 mountd

100005 2 tcp 33880 mountd

100005 3 udp 37599 mountd

100005 3 tcp 33880 mountd

100024 1 udp 49522 status

100024 1 tcp 41314 status

100003 2 udp 2049 nfs

100003 3 udp 2049 nfs

100003 4 udp 2049 nfs

100021 1 udp 51887 nlockmgr

100021 3 udp 51887 nlockmgr

100021 4 udp 51887 nlockmgr

100003 2 tcp 2049 nfs

100003 3 tcp 2049 nfs

100003 4 tcp 2049 nfs

100021 1 tcp 49804 nlockmgr

100021 3 tcp 49804 nlockmgr

100021 4 tcp 49804 nlockmgr

100000 2 udp 111 portmapper

编辑2:获得了一些tcpdump信息

(编辑3:删除了tcpdump输出,因为它可能不相关.)

我完全不熟悉正确的nfs协商的样子.如果你想查看数据段,我还会转储一个pcap文件.现在是filedropper

我正在关注@ CIA的建议,并做到了这一点:

ark:/etc/init.d # ./nfsserver stop

Shutting down kernel based NFS server: nfsd statd mountd idmapd done

ark:/etc/init.d # ./portmap stop

Shutting down RPC portmap daemon done

ark:/etc/init.d # ./portmap start

Starting RPC portmap daemon done

ark:/etc/init.d # ./nfsserver start

Starting kernel based NFS server: idmapdexportfs: Warning: /mnt/bigraid does not support NFS export.

mountd statd nfsd sm-notify done

尽管有警告,出口现在似乎可以安装.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值