Mount.cifs fails Error 20

FreeMEG Computing Services – Mount.cifs fails Error 20

Mount.cifs fails Error 20

When you mount an older style SMB device you get the following error:


mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page ( mount.cifs)

This is becuase it is not compatible with the new CIFS Extensions. To get around this, before you mount your SMB disk disable the CIFS Linux Extensions firs by using the following command:

# echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

You then should be able to mount the disk as per usual.

# mount -t cifs // /mnt/audio/ -o guest,ro

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.