Oracle Linux 6 - CIFS mount failure "mount cannot mount block device read-only" (Doc ID 2301960.1)

Last updated on SEPTEMBER 11, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.

Symptoms

On Oracle Linux 6 server, CIFS shares are not getting mounted and reporting following error.

[root@localhost]# mount -t cifs //10.0.1.8/e$ /mnt/sawtmp -o username=testuser\,password=
mount: block device //10.0.1.8/e$ is write-protected, mounting read-only
mount: cannot mount block device //10.0.1.8/e$ read-only

[root@localhost]# mount -t cifs //10.0.1.8/e$ /mnt/sawtmp < -- Mount without login credential.
mount: wrong fs type, bad option, bad superblock on //10.0.1.8/e$, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program) In some cases useful info is found in syslog - try dmesg | tail or so 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms