9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] nfsserver no mapping
@ 2005-01-31  7:29 Matthias Teege
  2005-01-31  9:47 ` Richard Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Teege @ 2005-01-31  7:29 UTC (permalink / raw)
  To: 9fans

Moin,

I try to setup nfsserver on my CPU Server but can't mount anything.
My client is "cao" and my cpu server is "crn".  The /lib/ndb/nfs looks
like this:

!9fs tcp!cao
.+	cao	/n/cao/etc/passwd	/n/cao/etc/group

I run:
cpu% aux/nfsserver -v -a il!crn -c /lib/ndb/nfs
cpu% aux/portmapper -v

on unix:
% mount -o soft,intr crn:mtg /n/crn
% mount: crn:mtg failed, reason given by server: unknown nfs status return value: 3

and get:
mntmnt...
host=192.168.153.11, port=608, root="mtg"...auth: 1107155531 cao u=0 g=0, 0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 139488...getdnsdom: 192.168.153.11
dom=cao.mteege.de...xfroot: mtg...xp=0...mntmnt: no fserror 3
! 9fs tcp!cao...OK

I try
% mount -o soft,intr crn:/ /n/crn
and get
Stale NFS filehandle
root...xfroot: il!crn...0@cao...no map for pair (il!crn,cao)...error 70

What maybe the problem? Do I need a enry for none in /etc/passwd?

Many thanks
Matthias



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] nfsserver no mapping
  2005-01-31  7:29 [9fans] nfsserver no mapping Matthias Teege
@ 2005-01-31  9:47 ` Richard Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Miller @ 2005-01-31  9:47 UTC (permalink / raw)
  To: mtg, 9fans

> I run:
> cpu% aux/nfsserver -v -a il!crn -c /lib/ndb/nfs
> cpu% aux/portmapper -v
> 
> on unix:
> % mount -o soft,intr crn:mtg /n/crn

The xxx:yyy pair names the host running nfsserver and the host with
the filestore being served.  In your case they are both crn, so you
should try
  mount -o soft,intr crn:crn /n/crn

-- Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] nfsserver no mapping
  2005-01-31 14:50 ` Matthias Teege
@ 2005-01-31 15:52   ` Richard Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Miller @ 2005-01-31 15:52 UTC (permalink / raw)
  To: mtg, 9fans

>> you try '9fs crn' on crn?
> 
> it mounts crn to /n/crn and I can see the tree.

Try '-D' flag for more detailed status messages.  If you are still
seeing the "no map for pair" message, it may be that the client
IP is mapping to a name which doesn't match the client regexp
in the configuration file.

-- Richard



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] nfsserver no mapping
       [not found] <fbcfa173833558cd93d5a581cdf62e94@hamnavoe.com>
@ 2005-01-31 14:50 ` Matthias Teege
  2005-01-31 15:52   ` Richard Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Teege @ 2005-01-31 14:50 UTC (permalink / raw)
  To: 9fans, 9fans

> Is the fileserver actually exporting a fileservice?  What do you get if

Yes, it does. I use it with terminals.

> you try '9fs crn' on crn?

it mounts crn to /n/crn and I can see the tree.

Matthias



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] nfsserver no mapping
  2005-01-31 13:06 ` Matthias Teege
@ 2005-01-31 14:19   ` Richard Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Miller @ 2005-01-31 14:19 UTC (permalink / raw)
  To: mtg, 9fans

> I've got the same error message.  Is it necessary to prepare somthing
> on the fileserver?

Is the fileserver actually exporting a fileservice?  What do you get if
you try '9fs crn' on crn?

-- Richard



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] nfsserver no mapping
       [not found] <01db1b7d580db9b1364b20b1cc200ac5@hamnavoe.com>
@ 2005-01-31 13:06 ` Matthias Teege
  2005-01-31 14:19   ` Richard Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Teege @ 2005-01-31 13:06 UTC (permalink / raw)
  To: 9fans, 9fans

> The xxx:yyy pair names the host running nfsserver and the host with

Ah, thanks

> the filestore being served.  In your case they are both crn, so you
> should try
>   mount -o soft,intr crn:crn /n/crn

I've got the same error message.  Is it necessary to prepare somthing
on the fileserver?

Matthias



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-01-31 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31  7:29 [9fans] nfsserver no mapping Matthias Teege
2005-01-31  9:47 ` Richard Miller
     [not found] <01db1b7d580db9b1364b20b1cc200ac5@hamnavoe.com>
2005-01-31 13:06 ` Matthias Teege
2005-01-31 14:19   ` Richard Miller
     [not found] <fbcfa173833558cd93d5a581cdf62e94@hamnavoe.com>
2005-01-31 14:50 ` Matthias Teege
2005-01-31 15:52   ` Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).