STAR-H1208M集线器不支持同时挂载多个nfs

时间:2023-03-09 16:11:48
STAR-H1208M集线器不支持同时挂载多个nfs

今天在两个触摸屏上都加入了开机加载nfs的操作。

没想到会出现以下错误:

pmap_getmaps.c: rpc problem: RPC: Unable to receive; errno = Connection reset by peer
mount: RPC: Remote system error - Connection refused
mount: mounting 172.16.0.101:/home/nfs/ on /mnt failed: Bad file descriptor
[root@Loongson-gz:/]#tcpsvd: listening on 0.0.0.0:21, starting

  

以前也经常出现nfs挂载失败的情况,无非监控卡没加入nfs支持,服务器nfs没配置好,网络连接不正常这三种情况。

搞了今天,搜索上述出现的情况,都没有搜索到如何解决。 后来发现,对触摸屏那个先重启,哪个就挂载成功,后启动的挂载失败,出现上述情况。

根据以往的经验,有可能是集线器的问题,毕竟这款型号为STAR-H1208M集线器很老旧了。可能支持性不好,将两个触摸屏的网络连接到路由器上,duang duang。

其实最重要的原因是:我两个监控卡都设置相同的mac地址了,导致在“数据链路层”转发失败。而路由器的“网络层”可以允许两个相同的mac地址

问题解决。

附上以前经常出现nfs挂载失败的原因及解决方法:

错误:
mount: mounting 192.168.101.116:/home on /mnt/nfs failed: No such device
方法:
kernel要支持NFS。

错误:
mount: RPC: Remote system error - Connection refused
mount: mounting 172.16.0.101:/home/nfs/ on /mnt failed: Bad file descriptor
服务器没开启nfs