My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

Applies to:

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


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

[root@localhost]# mount -t cifs //$ /mnt/sawtmp -o username=testuser\,password=
mount: block device //$ is write-protected, mounting read-only
mount: cannot mount block device //$ read-only
[root@localhost]# mount -t cifs //$ /mnt/sawtmp < -- Mount without login credential.
mount: wrong fs type, bad option, bad superblock on //$, 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 


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.