More NFS exports questions :-(
stan
stanb at panix.com
Sat Sep 30 17:52:35 PDT 2006
On Sat, Sep 30, 2006 at 07:11:14PM -0500, Jonathan Horne wrote:
> 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:
cvsup# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/amrd0s1a 496M 64M 392M 14% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/amrd0s1g 969G 1.2G 890G 0% /data
/dev/amrd0s1e 989M 12K 910M 0% /tmp
/dev/amrd0s1f 85G 6.5G 72G 8% /usr
/dev/amrd0s1d 19G 100M 18G 1% /var
procfs 4.0K 4.0K 0B 100% /proc
cvsup:/data/FreeBSD/distfiles 969G 1.2G 890G 0% /usr/ports/distfiles
>
> "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.
I thought I had tried that but
/data/FreeBSD/distfiles /data/OpenBSD/packages -maproot=root: -network aaa.bbb.113.0 -mask
255.255.255.128
Fixes the problem.
Thanks VERY MUCH!
--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
More information about the freebsd-questions
mailing list