Subject: nfs - export file
To: None <port-i386@netbsd.org>
From: dkwok <dkwok@iware.com.au>
List: port-i386
Date: 09/25/2001 12:43:24
I am setting up a NFS share on a server. I have trouble serving the nfs
share.
System is NetBSD-1.5.2 on i386 platform.
My /etc/exports file :
/export/client/root -maproot=root:wheel nfs.client.com.au
/export/client/swap -maproot=root:wheel nfs.client.com.au
/export/client/usr -maproot=usr nfs.client.com.au
I have excuted the following daemon
rpcbind
mountd
nfsd
However the error message from mountd is that
Sep 24 01:56:03 raid mountd[24468]: "/export/client/swap -maproot", line 5:
Can'
t change attributes for /export/client/swap to 127.0.0.1
Sep 24 01:56:03 raid mountd[24468]: "/export/client/usr -maproot", line 6:
Can
't change attributes for /export/client/usr to 127.0.0.1
Sep 24 01:56:03 raid mountd[24468]: "/export/client/home -maproot", line 7:
Can
't change attributes for /export/client/home to 127.0.0.1
Only the first line in the /etc/exports file executed successfully. I have
tried a lot of books and man page
but examples and tips on /etc/exports file is scared. Any comment will be
much appreciated.
David Kwok