9fans archive / 1998 / 04 / 86 /    prev next

From: Kenji Arisawa arisawa@ar....
Subject: [9fans] Re: nfsserver
Date: Mon, 20 Apr 98 19:23:16 +0900

Hello 9fans!

forsyth@cal... says:
>i don't think u9fs running is relevant to your nfsserver problem.
>you can make nfsserver chattier, for instance
>	echo 8 >/srv/nfsserver.chat
>to cause it to put more detail in its logs.
>	echo 0 >/srv/nfsserver.chat
>to switch it off.  (check the file name by doing ls /srv first.)
>
>you can find some changes i made to nfsserver on my plan 9 software  
page
>	http://www.caldo.demon.co.uk/plan9/soft/
>they might be useful once you get it working, but i'd be surprised  
if
>any of those changes help your current problem; it looks more  
fundamental.
Thank you for your advice.

I am rejected:
	echo 1 >/srv/nfsserver.chat
on CPU servers. I don't know the reason.
So I restarted nfsserver and portmapper.
	plan9% aux/nfsserver -v -a il!9fs -c /lib/ndb/nfs
	plan9% aux/portmapper -v

Mounting messages on unix side are:
	ar> /etc/mount -o soft,intr plan9:9fs /n/9fs
	mount: plan9:9fs on /n/9fs: Stale NFS file handle
	mount: giving up on:
  		/n/9fs

This time, I got more detailed messages on CPU server.
The last message on CPU server is:
getattr...xfroot: il!9fs...00@ar...no map for pair (il!9fs,  
ar)...error 70

The messages seems to me that nfsserver has no data to map
uid/gid from/to unix to/from 9fs.

I have map configuration file:
-------------- /lib/ndb/nfs --------
!9fs tcp!ar
.+  ar\.aichi-u\.ac\.jp  /n/ar/etc/passwd  /n/ar/etc/group
------------------------------------
and unix passwd/group files can be really seen at the position
from the CPU server if "9fs tcp!ar" are executed.

Thanks,

Kenji Arisawa
E-mail: arisawa@aic...