Oracle Linux 6 - CIFS mount failure "mount cannot mount block device read-only"
(Doc ID 2301960.1)
Last updated on MAY 13, 2020
Applies to:Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A 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 //10.0.X.8/e$ /mnt/sawtmp -o username=testuser\,password= mount: block device //10.0.X.8/e$ is write-protected, mounting read-only mount: cannot mount block device //10.0.X.8/e$ read-only
[root@localhost]# mount -t cifs //10.0.X.8/e$ /mnt/sawtmp < -- Mount without login credential. mount: wrong fs type, bad option, bad superblock on //10.0.X.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
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