Trying to mount a smb share in Ubuntu 10.10 just fails :(.

I have used the following command:

sudo mount -t cifs //share /mnt/smb/

Looking inside kernel error messages I can see this:

[11502.143801] CIFS VFS: cifs_mount failed w/return code = -22

  • I have the feeling that I have used the wrong site :D. Can someone migrate this to superuser.com? Nov 21, 2010 at 20:13
  • It will get migrated automatically as soon as it receives enough close votes
    – Paul R
    Nov 21, 2010 at 21:17

1 Answer 1


Are you using the server name? You need to reference the share by IP address.

sudo mount -t cifs // /mnt/smb

If you want to use dns, you'll need to install mount.cifs which is included in the package cifs-utils.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.