LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mouting between two servers (https://www.linuxquestions.org/questions/linux-newbie-8/mouting-between-two-servers-513701/)

vbseeker 12-26-2006 02:05 AM

mouting between two servers
 
Hi,

I need to mount the filesystem to the other server. The details are as follows :

cnt2 : 10.2.0.92
data directory : /opt1/tomcat/webapps/cms/content
/opt1/tomcat/webapps/cms/temp_content

I need to mount the above directories to the following server:
cnt1 : 10.2.0.96
data directory : /opt1/tomcat/webapps/cms/content
/opt1/tomcat/webapps/cms/temp_content


pls help me out to do the above.

Regards,
Anand

mindsport 12-26-2006 04:03 AM

you can do this by using samba at your linux console type `man samba` if you have any problems configuring /etc/samba/smb.conf, smbd, or smbmount please ask :)

vbseeker 12-26-2006 04:56 AM

mouting between two servers
 
I want to it through nfs.

Regards,
Anand

JimBass 12-26-2006 11:08 AM

Nfs is the right way to do this. Samba is fine for file sharing with win clients, but sharing between linux servers is much better under nfs.

Typing "man nfs" should give you the manpage on the nfs command and options. You would probably edit the /etc/fstab file as shown on the nfs manpage to have the client system mount the master automatically.

Just try and share what you are looking for, and use your logs to find out if something isn't working.

Peace,
JimBass

hockeyman_102 12-26-2006 11:19 AM

run yast and look for the exports section to specify what you want to 'share' to another linux box. Then just mount it. If you need me to be more specific, i can.

hockeyman_102 12-26-2006 11:20 AM

guess that's only if you have suse. What distro are you using?


All times are GMT -5. The time now is 01:58 AM.