Linux – NFS to NFS mount

linuxnetworkingnfs

I have a machine that I need to bridge NFS files to. Can I mount an NFS directory on machine2 from machine1 and then mount the mounted NFS directory on machine2 on machine3 via NFS? Do you see any problems with that? I am basically bridging some subnet domains this way, in a certain fashion. My development machine is on a different and separate (unbridged) than where I would like to use the files, and I would like this machine1(dev machine) -> machine2(passthrough machine) -> machine3(test machine) connection. And no there is no way to move the test machine as it's a chassis 🙂 and it's two buildings away.

Best Answer

You CAN re-export an NFS mount.

It is a really REALLY BAD IDEAâ„¢. If the first server's export fails, the second machine's export will suddenly lose its contents, and show an empty directory.