
![]() |
perkiset
Cripes! Two requests for help in a single day.. whadda loser!
Anyway: I have two machines. The details of them are not really important except that they areLinuxboxes on a privatenetwork.Box A is a graphics/WMV/Flash box that has a directory structure like this: /graphics /clientA /clientB /clientC Box B is an HTML renderer where my clients "back office" applications reside. Part of the back office allows them to Add/Update/Delete graphics... but the graphics have always been on the same box. Now, I want to put graphics on a different box but have symbolic link directories pointing to persistent " ;network shares" on another box, so the directory structure looks like this:/www /clients /A /graphics <<< This should be the /graphics/clientA dir on Box A /B /graphics <<< This should be the /graphics/clientB dir on Box A /C /graphics <<< This should be the /graphics/clientC dir on Box A ... so that moving in and out of the directories on Box B feels just like it always did, except that as soon as you get into the graphics dir you're actually looking at Box A. I don't care if it's SAMBA or whatever, but it's got to be stable and persistentable. And writeable as well: a client using my Image Uploader will be coming in on Box B, and the storage of the graphics will need to LOOK like it's on Box B, but it is REALLY at Box A. (This is less complicated than it sounds - so long as I can write to the /www/clients/A/graphics dir and it goes to Box A) I can figure it out if SAMBA is the only way, but I am hoping someone has a bit more experience with such a thing and can counsel me. Hope this is clear enough... I tried to do a quick Visio of this and it just looked like hell ![]() Any help appreciated, /perk ratthing
You could easily set this up with NFS. Caveat: IMO, NFS under
Linuxblows, but other people make it work, so YMMV. OnSolaris, HP-UX or (maybe) AIX, NFS would be a no-brainer. You could do it via static mounts (mounting at boot time) or via automounter (only mounted when some app needs the directory).I worked at a place pre-100TX with 2K engineers all running their *nix workstation home dirs off of dinky NFS servers. I would stay away from using SAMBA because SMB is inefficient as hell over the network; I don't think the i/o performance-wise would be good either but can't say for sure. It's also pain in the a$$ to configure.Another option would be AFS, but you'll have a curve there. |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads