Subject: Problems with NFS mount and /etc/exports
To: None <netbsd-help@NetBSD.ORG>
From: Gerald C. Simmons <darykon!simmons@nwnexus.wa.com>
List: netbsd-help
Date: 04/11/1995 07:25:44
I have two machines I'm trying to get to share resources. One of them is
primarily a server and the other a workstation. On the server I have the
following in the /etc/exports file:

/cdrom -ro -maproot=root derenai.wa.com
/usr/src -maproot=root derenai.wa.com
/usr/local -maproot=root derenai.wa.com
/var/mail -maproot=root derenai.wa.com
/usr/X11R6 -maproot=root derenai.wa.com
/home -maproot=root derenai.wa.com

I get the following messages from mountd:

Apr 11 07:18:28 darykon mountd[57]: Can't change attributes for /usr/local. 
Apr 11 07:18:28 darykon mountd[57]: Bad exports list line /usr/local -maproot
Apr 11 07:18:28 darykon mountd[57]: Can't change attributes for /usr/X11R6. 
Apr 11 07:18:28 darykon mountd[57]: Bad exports list line /usr/X11R6 -maproot

Also, derenai can't mount /usr/X11R6 or /usr/local, but can mount /home and
/var/mail. The permissions and ownerships on all mount points are the same.
I'm currently running NetBSD-1.0 on two 486 machines; one with 16M RAM and
the other w/ 36M. Both machines have NFS_CLIENT and NFS_SERVER YES in
/etc/netstart. Any Ideas?

Gerry Simmons
simmons@darykon.wa.com