You must have Javascript enabled to experience this site.

Cannot mount block device //host/share read-only

Posted & filed under Coding Tips.

While trying to setup Samba 4 on Ubuntu 14.04 I got error ‘Cannot mount block device //host/share read-only’ mounting a drive. There didn’t seem to be anything obviously wrong, it just would not work.

Lots of trawling through logs and head scratching later I found that it was due to a missing dependency on CIFS.

Installed package cifs-utils and it all worked perfectly.