Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sym-Linking Across File Systems / Servers 1

Status
Not open for further replies.

solidst8

Programmer
Aug 11, 2004
3
US
Hello all,

I'm pretty sure what I'm wanting to do can be done, but I've never personally attempted it and I haven't been able to find any tutorials as of yet. Basically I'm wanting to create a symbolic link for a folder on "server a" so th
at it shows up in the file system tree on "server b". I've symlinked folders on the same box before, but never from one server to another. Does anyone know how to achieve this or know of any tutorials on doing it? If you know how, please post detailed instructions.

thank you in advance,

Chris
 
man automount

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
PHV,

Thank you for the reply. I just read through the man pages for automount and am not sure if it will work for what I am trying to do. You'll have to forgive me as I have a general understanding of unix and command line administration, but I am not a guru by any means. I was confused by automount because it said that if the map/mount was inactive for a certain amount of time then it would be unmounted. That may not work in my application, but I could also be missunderstanding what exactly that means. I'll explain my problem better so that you or anyone might be able to let me know what direction to head in.

I have a server running redhat 9 and apache. I am wanting to create a link from one server to another so that a folder on one server is visible and usable by the other server. example:

Server 1 Server 2
------------ ------------
Folder 1 Folder 1 = Folder 4 on Server1
Folder 2
Folder 3
Folder 4 (remote folder)

The link will need to remain for as long as I want because application code will rely on that folder being present. I've achieved this before by symlinking from drive a to drive b on the same box, but never from server a to server b. If you feel that the automount command is still the way to go, could you please provide some instruction on how to set it up.

thank you,

Chris
 
Server2 must have "Folder 1" exported and nfsd running.
Server1 may then mount "Server2:/Folder 1" on it's "Folder 4" mount point.
Take a look at exportfs, exports and maybe hosts.equiv

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV,

I'll look into what you suggested.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top