mount error(6): No such device or address when sharing windows folder to ubuntu

Catherine Dai picture Catherine Dai · Aug 9, 2012 · Viewed 42.4k times · Source

I have a windows shared folder named \\mymachine\sf and I want to map it as a ubuntu device. I use smbmount command as below:

smbmount //mymachine/sf /mnt/sf -o <username>

The output is like

retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I'm sure the device exists and mymachine is ping'ed through.

Any idea?

Answer

site picture site · Dec 12, 2012

Double check that the share exists and is the name you expect with:

smbclient -L //mymachine -U <username>