Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

mount

smb

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?

like image 739
Catherine Dai Avatar asked Aug 09 '12 06:08

Catherine Dai


1 Answers

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

smbclient -L //mymachine -U <username>
like image 145
site Avatar answered Sep 18 '22 23:09

site