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.
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.
hrm. My kneejerk reaction is that it sounds like a bad idea, but I can't think of any technical reason that it wouldn't work.
So you're doing this because machine3 is unable to talk to machine1?
I have tried this a long time ago and this does not work. I believe that this is some type of security issue as this could violate the restriction of hosts placed on the exported filesystem.
Last I looked (NFS v2,3) pass-through mounts like this are specifically disallowed by the NFS Protocol for security and performance reasons.
You can not reexport an nfs mount over nfs. You could export the nfs mount via smb if that works for you.