Subject: NFS driving me crazy...
To: None <netbsd-users@netbsd.org>
From: =?ISO-8859-1?Q?Florian_St=F6hr?= <netbsd@wolfnode.de>
List: netbsd-users
Date: 03/14/2004 18:51:35
Hi all,

hm, for some time i have some problem with the /etc/exports. what the hell
am i doing wrong here?

# now a simple export
/sepp -mapall=share -alldirs challenge

this will work if i remove the "-alldirs". "challenge" is a valid host and
"share" is a valid user.

but as above, it will fail with "cannot remount /sepp: invalid argument".

What is wrong here?

with the next one, things even get more strange.

this WILL work as desired:

# My whole export list
/storage/sgi \
/storage/sgi/sgimips/binary/sets \
/storage/diskless/challenge \
/storage/share \
/storage/pkgsrc \
/storage/transfer -mapall=share

but: the following version - which SHOULD (?) do the same - will fail:

# Doing them as separate ones will fail (???)
/storage/sgi -mapall=share
/storage/sgi/sgimips/binary/sets -mapall=share
/storage/diskless/challenge -mapall=share
/storage/share -mapall=share
/storage/pkgsrc -mapall=share
/storage/transfer -mapall=share

root@server [/etc] # Mar 14 18:47:29 server mountd[1690]:
"/storage/sgi/sgimips/binary/sets -mapall", line 2: Can't change
attributes for /storage/sgi/sgimips/binary/sets to Default
Mar 14 18:47:29 server mountd[1690]: "/storage/diskless/challenge
-mapall", line 3: Can't change attributes for /storage/diskless/challenge
to Default
Mar 14 18:47:29 server mountd[1690]: "/storage/share -mapall", line 4:
Can't change attributes for /storage/share to Default
Mar 14 18:47:29 server mountd[1690]: "/storage/pkgsrc -mapall", line 5:
Can't change attributes for /storage/pkgsrc to Default
Mar 14 18:47:29 server mountd[1690]: "/storage/transfer -mapall", line 6:
Can't change attributes for /storage/transfer to Default


Hm. now what's wrong?

Thanks for replies
Florian