Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Nov 21 '10 at 21:58

This question came from our site for professional and enthusiast programmers.

I have the feeling that I have used the wrong site :D. Can someone migrate this to – Daniel Băluţă Nov 21 '10 at 20:13
It will get migrated automatically as soon as it receives enough close votes – Paul R Nov 21 '10 at 21:17
up vote 1 down vote accepted

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.

share|improve this answer
thanks, that worked. – Daniel Băluţă Nov 22 '10 at 7:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .