Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 08:57:10 -0700
From:      David Benfell <benfell@parts-unknown.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions@freebsd.org
Subject:   Re: What am I not understanding about /etc/exports?
Message-ID:  <20070411155710.GA3309@parts-unknown.org>
In-Reply-To: <54434144@srv.sem.ipt.ru>
References:  <20070406222614.GA63630@parts-unknown.org> <20070406225640.GA1562@kobe.laptop> <20070407035704.GB9295@parts-unknown.org> <20070410122426.GA6122@kobe.laptop> <20070410155544.GA4157@parts-unknown.org> <20070410173431.GA8903@kobe.laptop> <24040909@srv.sem.ipt.ru> <20070411061132.GC45292@parts-unknown.org> <20516162@srv.sem.ipt.ru> <54434144@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, 11 Apr 2007 12:04:15 +0400, Boris Samorodov wrote:
> On Wed, 11 Apr 2007 11:30:37 +0400 Boris Samorodov wrote:
>=20
> > > earth% df
> > > Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> > > /dev/ad0s1a  62963306 16456346 41469896    28%    /
>=20
> > So, / and /usr are parts of one slice. That's the problem [1]. One can
> > have only one line per slice at /etc/exports.
>=20
> Sorry, not "per slice" but "per filesystem". I.e. you should use one
> line per directories located at /dev/ad0s1a, etc.
>=20
Okay, success!  Thanks!

It took several tries to get it quite right, with several reboots of
*both* systems; I guess there's some handshaking that is tenuous rather
than robust.

The most recent version is:

/ -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1 66.93.170.243
#/usr/src -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1
#/usr -alldirs -maproot=3Droot 127.0.0.1 192.168.19.1
/public -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 192.=
168.19.1
/home -alldirs -maproot=3Droot 127.0.0.1 192.168.18.45 192.168.18.46 192.16=
8.19.1
/cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0

I had to add 66.93.170.243, the external address of the system, because
when I made the other change, I saw complaints from sfs stuff that I'd
never gotten working.  It is just possible we've now killed two birds with
one stone.

Thanks!


--=20
David Benfell, LCP
benfell@parts-unknown.org
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD4DBQFGHQVWUd+dMw3R0eMRAppOAKCpK7hITkzqtKn0gKmu1fQgmYttgwCYpwjT
W8wzFPiJ3CxTyrOcRBYMpw==
=Nzrd
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--



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