LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2009, 06:13 AM   #1
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Rep: Reputation: 31
Mount folder on samba network HDD


Hello.
I have a network samba hard disk. I can access it by typing
smb://mirosred1 in my browser.
But what I want to do is, mount it in the /mnf folder.
SO, I try to add this in fstab, bot no luck

Code:
//192.168.0.200  /mnt/mirosred1  cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0
//mirosred1  /mnt/mirosred1  cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0
smb://mirosred1  /mnt/mirosred1  cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0
The hdd IP is : 192.168.0.200
The hdd hostname is: mirosred1
Now I can access this hdd only by typing that: smb://mirosred1 in my browser.
I cannot mount it un /mnt/mirosred1

Please for your help.

Last edited by miros84; 12-13-2009 at 06:54 AM.
 
Old 12-13-2009, 08:48 AM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,266

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Here is what works for me.

Quote:
//i-think/Pictures /home/cliff/mnt/Pictures cifs username=% 0 0
The system i-think is listed in my /etc/hosts file. I don't see anything wrong with your options. I do think you need the name of the directory after either the IP address entry, or the name, amusing you have the server in the /etc/hosts file. There should only be one entry, I don't know what problems you can create with multiple entries for the same share.

Hope this helps.
 
Old 12-16-2009, 02:39 PM   #3
indelible
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Rep: Reputation: 2
You're missing the share name from the NFS server

so change the line to
//192.168.0.200/ShareName ...

If you don't know what the share name is, you probably haven't created one on the server.

Hope this helps
 
  


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
How to mount folder in network with samba? miros84 Linux - Software 16 09-04-2009 04:42 PM
Force External USB HDD to mount to certain folder predatorz Linux - Hardware 4 06-18-2008 11:26 AM
mount samba folder alaios Linux - Networking 2 07-23-2005 03:14 PM
samba mount to windows share folder lewkh Red Hat 1 03-01-2005 03:31 PM
can't mount to windows share folder using samba yawhum80 Linux - Software 4 10-24-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 AM.

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