Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I have Computer-A, and share a folder to be accessed by Computer-B, can I take that same shared folder and share it with Computer-C?

Computer-B has two itnerface cards, eth0, and eth1. eth0 is connected on the same network as Computer-A, and eth1 is connected on an alternate network that Computer C.

Computer-B is on both networks.

Computer-A <--> Computer B <--> Computer C

Platform: Ubuntu 10.04

Thanks

-Manny

share|improve this question
    
What version of NFS are you using? –  ghm1014 Sep 30 '11 at 20:22
    
someuser@somewhere:/usr/include/nfs$ rpcinfo -p localhost | grep -i nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs –  The_Green_Manster Sep 30 '11 at 20:45
add comment

1 Answer

You cannot re-export a mounted NFS filesystem, second-hand, because Computer B doesn't have authority to export that filesystem again. Not to mention the problems you could have with locking, and stale nfs handles.

There is a userland nfs server, uNFS, that can share just about anything, including re-exporting mounted NFS filesystems, however it specifically says that results should be considered unreliable.

You're really better off having Computer A share to both B and C

Computer A --> Computer B
          \
           --> Computer C
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.