SUMMARY: Problem with exporting Filesystems

From: Detlev Habicht (habicht@ims.uni-hannover.de)
Date: Thu Mar 05 1998 - 09:36:27 CST


Hi all again,

My problem was to do something like this:

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

This doesn't work, because /export is already exported.

Is there any solution to export a directory behind /export to a host outside
of our network???

Well, there is a solution: 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

This works in our subnet. But when extern is a host outside, i have a
permission denied, when i try to mount.

Only this works:

 share -F nfs -o ro,anon=0 /lofs/testdir

** What is wrong now? **

Thanx to Jochen Bern <bern@TI.Uni-Trier.DE> for the lofs hints.

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