More NFS exports questions :-(
Jonathan Horne
freebsd at dfwlp.com
Sat Sep 30 17:11:18 PDT 2006
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
More information about the freebsd-questions
mailing list