Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: Problem accessing PC files using NFS
Date: 1997/07/07	[thread overview]
Message-ID: <werme.868287975@alingo.zk3.dec.com> (raw)
In-Reply-To: 33C0343B.210@cs.curtin.edu.au


Ross Maloney <x409@cs.curtin.edu.au> writes:

>I am having difficulty in using the NFS supplied with dUnix v 3.2c to
>access the files on a PC.

>NFS was setup on the Alpha using the standard nfssetup script.  The PC
>(with network name Pluto) is running SOSS, the public domain NFS
>server.  When SOSS is put into verbose mode, the message:

>PMAPPROC_GETPORT --> prog = 100003, ver = 3 : --> NO PORT REGISTERED

>is displayed on the PC in response to the command:

>mount -t nfs -o intr,rw,rsize=1024,wsize=1024 Pluto:/c /mnt

Include option vers=2 (or nfsv2) and things should work (or get much further).
It appears that SOSS has no idea of what NFS V3 is all about.

>This appears to add support to the suspicion of there being a problem
>in the RPC mechanism of dUnix.  I also notice that there is no mention
>of port 111 in the /etc/services file of dUnix.

Port 111 is portmap, a "well known" address.  I don't know what it's not
in /etc/services - never noticed that before!

>Hence my questions:  What is really happening and how is the problem
>overcome? 

The mount command is checking to see if the PC supports NFS V3.  The PC
should send back a message saying that isn't available and what versions
are registered, then mount will fall back to V2.  I'm not certain why it
isn't, but I'm not certain what happens if mount doesn't get a reply to
its query.  What should happen is something like:

clnt 56% tcpdump -Nts300 -p host svr &
[2] 25337
tcpdump: listening on tu0
Using kernel BPF filter

clnt 57% rpcinfo -u svr nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting

clnt 58% 

clnt.3ed93e62 > svr.pmap-v2: 56 call getport prog "nfs"  V0  prot UDP  port 0
svr.3ed93e62 > clnt.pmap-v2: 28 reply getport 2049

clnt.3fd93e62 > svr.nfs-v0: 40 call null
svr.3fd93e62 > clnt.nfs-v0: 32 reply RPC_PROGVERSMISMATCH error, low 2 high 3

clnt.40d93e62 > svr.pmap-v2: 56 call getport prog "nfs"  V2  prot UDP  port 0
svr.40d93e62 > clnt.pmap-v2: 28 reply getport 2049

clnt.41d93e62 > svr.nfs-v2: 40 call null
svr.41d93e62 > clnt.nfs-v2: 24 reply null

clnt.42d93e62 > svr.pmap-v2: 56 call getport prog "nfs"  V3  prot UDP  port 0
svr.42d93e62 > clnt.pmap-v2: 28 reply getport 2049

clnt.43d93e62 > svr.nfs-v3: 40 call null
svr.43d93e62 > clnt.nfs-v3: 24 reply null

"pmap" is portmap at port 111.

The Dunix FAQ has notes on configuring a system to use tcpdump, something
I'd strongly recommend to keep an eye on SOSS.
-- 
  <>    Eric (Ric) Werme   <>      This space under reconstruction       <>
  <>  <werme@zk3.dec.com>  <>                                            <>



  reply	other threads:[~1997-07-07  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-06  4:00 Problem accessing PC files using NFS Ross Maloney
1997-07-07  4:00 ` Eric Werme [this message]
1997-07-13  4:00   ` Ross Maloney
1997-07-14  4:00     ` Eric Werme
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox