Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 19:11:14 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: More NFS exports questions :-(
Message-ID:  <200609301911.14630.freebsd@dfwlp.com>
In-Reply-To: <20060930235617.GA11336@teddy.fas.com>
References:  <20060930235617.GA11336@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 30 September 2006 18:56, stan wrote:
> Sorry, this should be simpople, but i'm having a bad day with it :-(
>
> Given and /etc/exports file that looks like this:
>
> cvsup# cat /etc/exports
> /data/FreeBSD/distfiles  -maproot=root:   -network 170.85.113.0 -mask
> 255.255.255.128 /data/FreeBSD/distfiles  -maproot=root:   -network
> 170.85.109.0 -mask 255.255.255.128 /data/FreeBSD/distfiles  -maproot=root: 
>  -network 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/distfiles 
> -maproot=root:   -network 170.85.113.0 -mask 255.255.255.128
> /data/OpenBSD/distfiles  -maproot=root:   -network 170.85.109.0 -mask
> 255.255.255.128 /data/OpenBSD/distfiles  -maproot=root:   -network
> 170.85.106.128 -mask 255.255.255.128 /data/OpenBSD/packages  -maproot=root:
>   -network 170.85.113.0 -mask 255.255.255.128 /data/OpenBSD/packages 
> -maproot=root:   -network 170.85.109.0 -mask 255.255.255.128
> /data/OpenBSD/packages  -maproot=root:   -network 170.85.106.128 -mask
> 255.255.255.128
>
> And a filesystem structure that looks like this:
>
> cvsup# ls -ld /data
> drwxr-xr-x  7 root  wheel  512 Sep 30 17:58 /data
>
> cvsup# ls -l /data/OpenBSD
> total 4
> drwxr-xr-x  2 root  wheel  512 Sep 30 17:58 distfiles
> drwxr-xr-x  2 root  wheel  512 Sep 30 19:34 packages
>
> Can anyone tell me why mountd gives me this error?
>
> mountd: got line /data/OpenBSD/packages  -maproot=root:   -network
> 170.85.106.128 -mask 255.255.255.128
> mountd: found ep fs=0x3e331d82,0xb21e5b03
> mountd: doing opt -maproot=root:   -network 170.85.106.128 -mask
> 255.255.255.128 mountd: doing opt -network 170.85.106.128 -mask
> 255.255.255.128
> get_net: v4 addr 170.85.106.128
> mountd: doing opt -mask 255.255.255.128
> get_net: v4 addr 255.255.255.128
> mountd: can't change attributes for /data/OpenBSD/packages

to help make some sense, it might help to see the output of 'df -h' on your 
system.  my first inclination is that you might be vearing off the 
configuration rules path.  take a look at section '25.3.2 Configuring NFS' of 
the handbook, at the paragraph starting with:

"The following is an example of a valid export list..."

in the example, notice how /usr/src and /usr/ports are exported on the same 
line?  i have a strong feeling (again, based on your filesystem setup) that 
you might need to explore this area to solve your issue.

hth,
jonathan



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