Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 10115  / 3 Years ago, sat, november 13, 2021, 9:59:33

I would like to access my local data, which is exported as a samba share, as if I am a samba client. Basically, how do I correctly mount my own samba share? The following mount (device) parameters:



//localhost/SHARE_NAME
//127.0.0.1/SHARE_NAME
//IP_OF_SAMBA_SERVER/SHARE_NAME


All result in "mount: special device <device> does not exist".



Other clients have no trouble connecting/mounting the share. gvfs/Nautilus mounting is also working just fine. Ubuntu 12.04 in use.


More From » mount

 Answers
0

Thank you for the comments and answers. Looking at the issue with fresh eyes today, it appears to be a simple mount type (-t) option issue. All of the suggested device parameters, including //HOSTNAME/SHARE_NAME, are okay when used in the following mount command:

sudo mount -t cifs -o guest //LOCALHOST/SHARE_NAME //DIRECTORY/MOUNT_POINT

As for the device name variations - it seems best practice to use 127.0.0.1 to refer to the host.


[#35181] Monday, November 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suitman

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;