in other words, if I have /directory/ on server1, could I somehow set up a networked drive with server2 and have it show up as /directory/ there as well? I'm asking because I need to split some things up on a current site between two servers, but I need to be able to use directory/file functions with php for some of the scripts how would I go about this?
This is one of way you can do it. have NFS on both linux boxes and then use following command replace server1 with hostname of "server1"
Yeah I would have suggested the same thing, but it does take a while to set up and pretty complicated.... My boss made me do it once and it took me around 2 days....
2 days? Does that include 1.9 days sleeping? Edit /etc/exports to read something similar to the following: /directory 10.0.0.1(rw,no_root_squash) and then run /etc/init.d/nfs reload On the other machine just type mount -t nfs 10.0.0.1:/directory /directory Simple as. Note that this example will give root users with root on 10.0.0.1 root-level access to the files.