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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-22-2012, 08:21 PM
|
#1
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Rep:
|
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.
|
|
|
08-22-2012, 08:40 PM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
08-22-2012, 11:51 PM
|
#3
|
Senior Member
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386
Rep:
|
Quote:
Originally Posted by ust
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
|
|
|
All times are GMT -5. The time now is 05:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|