I have two CentOS boxes, essentially a QA and a production box, and I want to use nfs to mirror over the entire directory structure of my prod box to QA, however, I want to exclude a certain nested directory, and instead have that be a directory located local to the QA box. For example:
**Prod box**
/
local/
libs/
repos/
bin/
etc/
**QA** (<> means nfs'ed from prod)
</
local/
libs/>
repos/
<bin/
etc/>
So basically, how can I have repos be a directory local to the QA box, while having the rest of the filestructure as nfs?
/filesystem and/etc/directory to be "nfs'ed from prod" which is going to cause problems. Were you leaving out intermediate paths? Also, you open the possibility of QA activities to affect prod, which is not a good idea. You should use proper system and software management techniques; NFS isn't one. – Mark Wagner Nov 28 '11 at 19:12/tmpand/var/tmparen't writable, for instance) -- IMHO You're better off using a deployment system and deploying the production configuration to your dev environment to make sure they match up... – voretaq7♦ Nov 28 '11 at 19:36