Perhaps this is an odd request, but it's the opposite of the question detailed at:
Is it possible to view the contents of an underlying NFS mount without unmounting the NFS content?
I have an arrangement where Linux servers at multiple remote sites mount an NFS share from a central server (all CentOS 5.x). Think: /opt/software
or something similar.
If all is well, the client systems mount the NFS export from the main server and run without incident. The data contained within the share does not change frequently (perhaps weekly).
I'm concerned about the situation where there's a loss of connectivity to the main NFS server (NFS server outage, fiber-cut, etc.). Due to the fact the the shared data does not change often, I'd like for these systems to be able to run standalone if they lose the NFS mount.
Say the mount goes away, I'd like to use the local files sitting in /opt/software
underneath the NFS mount at the same location. Additionally, I'd keep a daily sync of those files.
The NFS mount is read/write because changes to the mounted volume need to be possible from any of the client sites.
Is this possible? How do I access (or overwrite) the files in the underlying directory? Would there potentially be timeout issues? Are there any mount options/tips that could help with this?