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 08-22-2012, 09:21 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
samba mount remote linux


I always use nfs to mount another linux server , it works fine , can advise how to use samba to mount remote linux server ?

I tried the below but not work

mount -t smb //remote_path //local_path

ps . I have installed samba on remote server and use Redhat 4 server .

Thanks.
 
Old 08-22-2012, 09:40 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

what do you mean "not work"? What error messages?
Typically I would run
Code:
mount -t cifs //hostname/sharename localmountpoint
This assumes that the username is the same on the local and remote hosts.

Evo2.
 
Old 08-23-2012, 12:51 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by ust View Post
I always use nfs to mount another linux server , it works fine , can advise how to use samba to mount remote linux server ?

I tried the below but not work

mount -t smb //remote_path //local_path

ps . I have installed samba on remote server and use Redhat 4 server .

Thanks.
-t will accept the type of file system, so you have to mention it as smbfs or cifs.

Try with :
Code:
mount -t smbfs //remote_host/path //local_path
or
Code:
mount -t cifs //remote_host/path //local_path
 
  


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
Help to mount remote samba share in fstab. JAgla Linux - Newbie 3 11-23-2009 03:47 PM
Remote Mount a Samba Share vcatalano Linux - Security 3 08-16-2008 07:40 PM
samba + remote mount eliufoo Linux - Server 3 07-30-2008 10:06 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 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