What am I not understanding about /etc/exports?
David Benfell
benfell at parts-unknown.org
Wed Apr 11 15:57:55 UTC 2007
On Wed, 11 Apr 2007 12:04:15 +0400, Boris Samorodov wrote:
> On Wed, 11 Apr 2007 11:30:37 +0400 Boris Samorodov wrote:
>
> > > earth% df
> > > Filesystem 1K-blocks Used Avail Capacity Mounted on
> > > /dev/ad0s1a 62963306 16456346 41469896 28% /
>
> > So, / and /usr are parts of one slice. That's the problem [1]. One can
> > have only one line per slice at /etc/exports.
>
> Sorry, not "per slice" but "per filesystem". I.e. you should use one
> line per directories located at /dev/ad0s1a, etc.
>
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=root 127.0.0.1 192.168.19.1 66.93.170.243
#/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1
#/usr -alldirs -maproot=root 127.0.0.1 192.168.19.1
/public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1
/home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.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!
--
David Benfell, LCP
benfell at parts-unknown.org
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070411/2ce220f5/attachment.pgp
More information about the freebsd-questions
mailing list