* Problem accessing PC files using NFS
@ 1997-07-06 4:00 Ross Maloney
1997-07-07 4:00 ` Eric Werme
0 siblings, 1 reply; 4+ messages in thread
From: Ross Maloney @ 1997-07-06 4:00 UTC (permalink / raw)
Hello,
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
issued on the Alpha. The corresponding message produced on the Alpha
screen is:
NFS Portmap : RPC : Program not registered
This would appear to indicate that something was wrong with the RPC
mechanism. To test this, the command:
rpcinfo -u Pluto mountd
was given on the Alpha. The displays:
PMAPPROC_GETPORT --> prog = 100005, ver = 0 : --> NO PORT REGISTERED
and
rpcinfo : RPC : Program not registered
program 100005 is not registered
appeared on the respective PC and Alpha displays.
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.
Hence my questions: What is really happening and how is the problem
overcome?
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Ross Maloney = voice: +61 (08) 9364 1927
+
Graduate Student =
Department of Computer Science +
Curtin University of Technology = email: x409@cs.curtin.edu.au
Perth, WA. +
AUSTRALIA =
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem accessing PC files using NFS
1997-07-06 4:00 Problem accessing PC files using NFS Ross Maloney
@ 1997-07-07 4:00 ` Eric Werme
1997-07-13 4:00 ` Ross Maloney
0 siblings, 1 reply; 4+ messages in thread
From: Eric Werme @ 1997-07-07 4:00 UTC (permalink / raw)
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> <> <>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem accessing PC files using NFS
1997-07-07 4:00 ` Eric Werme
@ 1997-07-13 4:00 ` Ross Maloney
1997-07-14 4:00 ` Eric Werme
0 siblings, 1 reply; 4+ messages in thread
From: Ross Maloney @ 1997-07-13 4:00 UTC (permalink / raw)
Eric Werme wrote:
>
> 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> <> <>
A solution has been found and it lies in the mount command used.
Eric Werme was partially correct in that the nfsv2 parameter is
required. The other parameter required is port=2049. The use of
nfsv2 or port=2049 alone is not enough. Thus the command:
mount -t nfs -o rw,nfsv2,port=2049 Pluto:/c /mnt
is that required. From the man page for mount, the wsize and
rsize buffer parameters are filled in by the kernel if not specified
and the values used are possibly 512 for each. When I accessed
TIFF graphics files across the NFS link, then it was necessary to
explicitly specify values of 1024 for the wsize and rsize buffers.
This mount command and the above comments also apply to the
shareware Tropic NSF server that I obtained from
ftp://archie.au/pc/coast/win95/winsock/trn3230b.zip
which performs the same file servicing function under Windows NT as
that done by SOSS under MS-DOS, both executing on a PC.
Ross
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Ross Maloney = voice: +61 (08) 9364 1927
+
Graduate Student =
Department of Computer Science +
Curtin University of Technology = email: x409@cs.curtin.edu.au
Perth, WA. +
AUSTRALIA =
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem accessing PC files using NFS
1997-07-13 4:00 ` Ross Maloney
@ 1997-07-14 4:00 ` Eric Werme
0 siblings, 0 replies; 4+ messages in thread
From: Eric Werme @ 1997-07-14 4:00 UTC (permalink / raw)
Ross Maloney <x409@cs.curtin.edu.au> writes:
>A solution has been found and it lies in the mount command used.
>Eric Werme was partially correct in that the nfsv2 parameter is
>required. The other parameter required is port=2049. The use of
>nfsv2 or port=2049 alone is not enough. Thus the command:
> mount -t nfs -o rw,nfsv2,port=2049 Pluto:/c /mnt
>is that required. ... When I accessed
>TIFF graphics files across the NFS link, then it was necessary to
>explicitly specify values of 1024 for the wsize and rsize buffers.
>This mount command and the above comments also apply to the
>shareware Tropic NSF server that I obtained from
Boy, those sound like remarkably incompetant NFS servers. I guess you
get what you pay for!
--
<> Eric (Ric) Werme <> DEC's back! (As an officially approved <>
<> <werme@zk3.dec.com> <> nickname, we're really still DIGITAL.) <>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-07-14 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-06 4:00 Problem accessing PC files using NFS Ross Maloney
1997-07-07 4:00 ` Eric Werme
1997-07-13 4:00 ` Ross Maloney
1997-07-14 4:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox