-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks,
I need to set up an nfs server on one of my machines, and so far I've
been pretty unsuccessful ;(
I'd like to access the nfs shares with some macOSX and a linux box.
I followed the guidelines in both the linux and freeBSD nfs howtos,
but to no avail.
This is my setup:
- ------------
/etc/exports:
/mnt/music -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd2 -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd1 -mapall=nobody -alldirs,quiet stilgar lusitania localhost
- ------------
root@lusitania# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100000 4 local 111 rpcbind
100000 3 local 111 rpcbind
100000 2 local 111 rpcbind
100005 1 udp 976 mountd
100005 3 udp 976 mountd
100005 1 tcp 761 mountd
100005 3 tcp 761 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
- -------------
- -------------
those are the error messages I receive from either the localhost or
the linux box (stilgar)
root@lusitania# mount localhost:/mnt/wd1 /mnt/stick/
[udp6] localhost:/mnt/wd1: Permission denied
[udp] localhost:/mnt/wd1: Permission denied
- ------
stilgar ~ # mount -t nfs lusitania:/mnt/wd1/ /mnt/tmp/
mount: lusitania:/mnt/wd1/ failed, reason given by server: Permission
denied
- -------------
and finally /var/log/messages:
Jan 22 11:00:11 lusitania mountd[413]: mount request denied from
192.168.1.104 for /mnt/wd1
Jan 22 11:01:29 lusitania mountd[413]: mount request denied from ::1
for /mnt/wd1
Jan 22 11:01:29 lusitania mountd[413]: mount request denied from
127.0.0.1 for /mnt/wd1
- -------------
everything described in the linux nfs howto
(
http://nfs.sourceforge.net/nfs-howto/troubleshooting.html) under
section 7.3.a works fine though.
- --------------
Somebody from the freeBSD mailing list suggested that I use a very
simple example like /mnt/music -ro and watch out for any messages from
mountd in the system log while reloading mountd. There are none though
and showmount -e lusitania doesn't show any exports either.
does anybody have an idea what could be the cause for this behaviour?
many thanks in advance, cheers
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFD07iD/sLffsMilEkRAlNvAJ9Wlt2btVvPU+vojS9uufrVmglaowCgxyo+
p88s2VjjHH0w8A4MReW5HQs=
=HItH
-----END PGP SIGNATURE-----