[2375] in linux-net channel archive

home help back first fref pref prev next nref lref last post

NFS server <---> NFS server

daemon@ATHENA.MIT.EDU (Robert Anthony Nader)
Sat Apr 6 07:47:08 1996

Date: 	Sat, 06 Apr 1996 23:48:08 +1000
From: Robert Anthony Nader <naderr@topaz.cqu.edu.au>
To: linux-net <linux-net@vger.rutgers.edu>

hi again ;)


Is it possible to have to linux boxes export to each other?

Ok,

I have pc1 that exports /usr /home /root & /etc/passwd from linuxbox

Now, 

When I boot both boxes _only_ linuxbox exports to pc1.  Things
are dandy, I can read, write, delete on pc1 to the imported directories
mentioned above.

Now, in pc1:/etc/exports I have an entry for linux box to be able to
import '/' from pc1:

/ linuxbox(rw)


But, when I exercise this on linuxbox by

# mount -t nfs pc1:/ /nfs/pc1 -rw

not only can I _not_ write on pc1's root partition, but also
the write permissions for pc1 to /usr /root /home are also gone!


Thus, can 2 boxes act as NFS servers to each other?

If not, I guess i'll have to content my self with _not_ importing
pc1:/ onto linuxbox ....

Hmmm, just as I'm writting this ... something comes to memory about
cyclic NFS mounts ( or something like that that I read in some 
posting to vger ) ... I guess this is what I must be doing wrong!
Maybe if I just tried mounting pc1:/usr1 ( a real partition of pc1 )
I wouldn't have this problem ... yes?

ps: thanks to _all_ you people for the sound advice I've received
over the past few days.

-- 
Cheers,

Rob -


home help back first fref pref prev next nref lref last post