Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 11:19:13 +0100
From:      David Raison <david@ion.lu>
To:        freebsd-questions@freebsd.org
Subject:   NFS trouble
Message-ID:  <43D35C21.3050701@ion.lu>

next in thread | raw e-mail | index | archive | help
-----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.

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

iD8DBQFD01wg/sLffsMilEkRApY2AJ9nB4k6Pu7on2wC19cjnvtDqmh3EACeMcf7
HHtABSlUKQ/YgCB2MqzRZXo=
=zaI7
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D35C21.3050701>