From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8ab7b0e88294cca X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: mountd rpc quirks Date: 1997/03/20 Message-ID: #1/1 X-Deja-AN: 227258831 References: Organization: Digital Equipment Corporation Reply-To: werme@zk3.dec.com Newsgroups: comp.unix.osf.osf1 Adriano Nagelschmidt Rodrigues writes: >Hello, >I have a server running OSF1 V3.2 and am having problems with mountd. When >some client programs test to see if nfs is available, ie they do >% rpcinfo -u my.osf.server mountd >/dev/null >They get the reply >rpcinfo: RPC: Program/version mismatch; low version = 1, high version = 1 >since it's a non-null string, they stop and say nfs service is >unavailble. Otherwise, mountd works ok (I have already applied the latest >security patches, but it didn't solve this particular problem). The problem is that we don't support MOUNT V2 (I forget what, if anything, that had of interest). A tcpdump trace of "rpcinfo -u server mountd" follows. client.f732830f > server.pmap-v2: 56 call getport prog "mount" V0 prot UDP port 0 server.f732830f > client.pmap-v2: 28 reply getport 1032 client.f832830f > server.mount-v0: 40 call null server.f832830f > client.mount-v0: 32 reply RPC_PROGVERSMISMATCH error, low 1 high 3 client.f932830f > server.pmap-v2: 56 call getport prog "mount" V1 prot UDP port 0 server.f932830f > client.pmap-v2: 28 reply getport 1032 client.fa32830f > server.mount-v1: 40 call null server.fa32830f > client.mount-v1: 24 reply null client.fb32830f > server.pmap-v2: 56 call getport prog "mount" V2 prot UDP port 0 server.fb32830f > client.pmap-v2: 28 reply getport 1032 client.fc32830f > server.mount-v2: 40 call null server.fc32830f > client.mount-v2: 32 reply RPC_PROGVERSMISMATCH error, low 1 high 1 client.fd32830f > server.pmap-v2: 56 call getport prog "mount" V3 prot UDP port 0 server.fd32830f > client.pmap-v2: 28 reply getport 1032 client.fe32830f > server.mount-v3: 40 call null server.fe32830f > client.mount-v3: 24 reply null You might try "rpcinfo -u server mountd 3", which is the MOUNT version used in NFS V3 or "rpcinfo -u server mountd 1" which tests for NFS V2. All servers I know that support NFS V3 will support NFS V2 for the indefinite future too. It's also a shorter exchange: client.3647890f > server.pmap-v2: 56 call getport prog "mount" V3 prot UDP port 0 server.3647890f > client.pmap-v2: 28 reply getport 1032 client.3747890f > server.mount-v3: 40 call null server.3747890f > client.mount-v3: 24 reply null >Is there a new mountd that corrects the mountd portmapper registration? It's not a mountd problem. It may be a portmap problem. On the other hand, portmap may be trying to tell the client what it can fall back to. -- <> Eric (Ric) Werme <> This space under reconstruction <> <> <> <>