Wednesday, April 3, 2013

Broken mount.cifs after upgrade to ubuntu 12.10

After upgrading to Ubuntu 12.10 (Quantal Quetzal) my samba mounts stopped working and the mount commands only gave me this
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I did spend some time figuring this out, many google hits didn't give any hints whatsoever other than how to enable more verbose logging. And the solution was ridiculously simple.

In your fstab you probably have something like
/// cifs    user,noauto,noexec,noatime,uid=1000,file_mode=0644,dir_mode=0755
 Just remove noatime and you are good to go!

No comments:

Post a Comment