On Tue, Jun 28, 2022 at 04:11:57PM -0400, Kevin Cozens via talk wrote: > Greetings, all. > > I'm wondering if someone may have some insight in to an NFS related problem. > > I have an embedded system running Linux. I set it as an NFS server. I have > been able to have the server mount its own share and I have also been able > to mount the share on my desktop. That tells me the NFS configuration is > fundamentally working. > > The problem is when I try to mount the from an old industrial system running > Hummingbird NFS Maestro DOS based software from 1997. That system is able to > ping the server so I know it has a network connection. However, when the > "nfs link Z: \\192.168.100.110\/share" command is issue I just get the > message on the server saying "No response from server". > > The Linux NFS server is supposed to support NFS v2 through v4. The old > system is probably v3 at best and the logs only seem to indicate v2. I > haven't figured out how to disable v4 support on the NFS server. I used > tshark to capture the NFS traffic. > > When the "exports" command was issued on the old machine: > > 909 873.726802357 192.168.100.101 → 192.168.100.110 Portmap 98 V2 GETPORT > Call MOUNT(100005) V:1 UDP > 910 873.727576161 192.168.100.110 → 192.168.100.101 Portmap 70 V2 GETPORT > Reply (Call In 909) Port:53625 > 911 873.728326009 192.168.100.101 → 192.168.100.110 MOUNT 110 V1 EXPORT Call > 912 873.731315731 192.168.100.110 → 192.168.100.101 MOUNT 142 V1 EXPORT > Reply (Call In 911) > > > When the "nfs link" command was issued on the old machine: > > 915 929.199301001 192.168.100.101 → 192.168.100.110 Portmap 98 V2 GETPORT > Call HCLNFSD(788585389) V:1 UDP > 916 929.199993392 192.168.100.110 → 192.168.100.101 Portmap 70 V2 GETPORT > Reply (Call In 915) PROGRAM_NOT_AVAILABLE > 917 929.200757113 192.168.100.101 → 192.168.100.110 Portmap 98 [RPC > retransmission of #915]V2 GETPORT Call (Reply In 916) HCLNFSD(788585389) V:1 > UDP > 918 929.201092226 192.168.100.110 → 192.168.100.101 Portmap 70 [RPC > duplicate of #916]V2 GETPORT Reply (Call In 915) PROGRAM_NOT_AVAILABLE > 919 929.201744034 192.168.100.101 → 192.168.100.110 Portmap 98 [RPC > retransmission of #915]V2 GETPORT Call (Reply In 916) PCNFSD(150001) V:2 UDP > > > The output from rpcinfo is: > > $ rpcinfo -p > program vers proto port service > 100000 4 tcp 111 portmapper > 100000 3 tcp 111 portmapper > 100000 2 tcp 111 portmapper > 100000 4 udp 111 portmapper > 100000 3 udp 111 portmapper > 100000 2 udp 111 portmapper > 100024 1 udp 57318 status > 100024 1 tcp 46225 status > 100005 1 udp 53625 mountd > 100005 1 tcp 40199 mountd > 100005 2 udp 53980 mountd > 100005 2 tcp 53443 mountd > 100005 3 udp 50848 mountd > 100005 3 tcp 49067 mountd > 100003 2 tcp 2049 nfs > 100003 3 tcp 2049 nfs > 100003 4 tcp 2049 nfs > 100227 2 tcp 2049 > 100227 3 tcp 2049 > 100003 2 udp 2049 nfs > 100003 3 udp 2049 nfs > 100227 2 udp 2049 > 100227 3 udp 2049 > 100021 1 udp 42943 nlockmgr > 100021 3 udp 42943 nlockmgr > 100021 4 udp 42943 nlockmgr > 100021 1 tcp 44539 nlockmgr > 100021 3 tcp 44539 nlockmgr > 100021 4 tcp 44539 nlockmgr > > > Is the DOS based NFS client compatible with current day Linux NFS server? > Any idea why I see messages saying PROGRAM_NOT_AVAILABLE? > If something is supposedly missing, what program is it looking for? It would > have been a lot more helpful if whatever program is reporting a "missing > program" said what program it couldn't find, or couldn't talk to.
The DOS based NFS client was actually never compatible with NFS at all. People used to run pcnfsd on the server if they wanted a DOS client to connect. The call that is complaining is looking for an RPC service called HCLNFSD which was hummingbird's version of PCNFSD. Apparently Suse had a heavily patched version of some old unix pcnfsd code once upon a time that might work. I see someone mostly managed to get it to compile on gentoo 4 years ago. No idea if the hummingbird client would work with PCNFSD or really insists on only talking to the hummingbird server. Apparently the client came with source code for the server to run on your unix server (by which they meant AIX and similar of course, not that irrelevant toy named Linux). But basic answer is that DOS NFS clients were special and needed a server meant only for them, not a standards compliant NFS server. Or at least the authentication part was special. -- Len Sorensen --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk