Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 31
Mount folder on samba network HDD

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

//  /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 :
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 07:54 AM.
Old 12-13-2009, 09:48 AM   #2
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,306

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

//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, 03:39 PM   #3
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
// ...

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

Hope this helps


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 05:42 PM
Force External USB HDD to mount to certain folder predatorz Linux - Hardware 4 06-18-2008 12:26 PM
mount samba folder alaios Linux - Networking 2 07-23-2005 04:14 PM
samba mount to windows share folder lewkh Red Hat 1 03-01-2005 04:31 PM
can't mount to windows share folder using samba yawhum80 Linux - Software 4 10-25-2003 12:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:48 PM.

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