SUMMARY [2.]: Problem with exporting Filesystems

From: Detlev Habicht (habicht@ims.uni-hannover.de)
Date: Mon Mar 16 1998 - 04:51:07 CST


Hi again,

some days ago i had to do something like this

 share -F nfs -o rw=host1 /export
 share -F nfs -o ro=extern /export/testdir

In this way it doesn't work.

The solution was: Loopback Filesystems.

You can create an entry in /etc/vfstab:

/export/testdir - /lofs/testdir lofs - yes -

Then use the mount command. Don't forgot to set right permissions
for /lofs/testdir.

And now the share commands may work in this way:

 share -F nfs -o rw=host1 /export
 share -F nfs -o ro=extern /lofs/testdir

But i have problems to export /lofs/testdir to a host outside
of our subnet. Well, first i make a mistake (i share /lofs to all
and forget it). But this way works now:

 share -F nfs -o ro=host.extern.domain /lofs/testdir

Thanx again to Jochen Bern <bern@TI.Uni-Trier.DE> for the hint
to use the full domainname.

Detlev

-- 
 Detlev  | Institut fuer Mikroelektronische Systeme, Uni Hannover
 Habicht | D-30167 Hannover +49 511 7624992 habicht@ims.uni-hannover.de
 --------+-------- Handy    +49 172 5415752 ---------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT