LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2006, 02:05 AM   #1
vbseeker
LQ Newbie
 
Registered: May 2005
Location: India
Posts: 13

Rep: Reputation: 1
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
 
Old 12-26-2006, 04:03 AM   #2
mindsport
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Slackware 13.1-64bit / 2.6.33.4
Posts: 45

Rep: Reputation: 17
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
 
Old 12-26-2006, 04:56 AM   #3
vbseeker
LQ Newbie
 
Registered: May 2005
Location: India
Posts: 13

Original Poster
Rep: Reputation: 1
mouting between two servers

I want to it through nfs.

Regards,
Anand
 
Old 12-26-2006, 11:08 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 12-26-2006, 11:19 AM   #5
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
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.
 
Old 12-26-2006, 11:20 AM   #6
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
guess that's only if you have suse. What distro are you using?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mouting disk rogier1983 Linux - Newbie 2 10-27-2005 09:51 AM
DVD-rom mouting boda Linux - General 1 08-28-2003 11:53 AM
mouting fat32 bumpert Linux - Newbie 10 12-15-2002 11:39 PM
Mouting over a network (bootup) robeb Linux - General 4 05-28-2002 09:53 PM
mouting cd seefrank Linux - Newbie 2 04-09-2002 12:38 PM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration