Professional Documents
Culture Documents
Document 2988785.1
Document 2988785.1
1
Copyright (c) 2024, Oracle. All rights reserved. Oracle Confidential.
Oracle Linux: "kernel: Trying to write to read-only block-device sdx" Errors are Reporting Frequently in /var/log/messages (Doc ID
2988785.1)
In this Document
Symptoms
Changes
Cause
Solution
References
APPLIES TO:
SYMPTOMS
New installation of Grid Infrastructure for a standalone server with Oracle ASM Filter Driver.After rebooting the Linux server and Oracle GI/ASM starting up normally and able to start
database with no issues.
The messages stop appearing in the log after shutting down the database and GI/ASM. The errors return when GI/ASM is started.
However, there will be connectivity problems and intermittent disconnections.The following messages are continuously display in /var/log/messages.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=wf3vg1tj3_58&id=2988785.1 1/2
10/1/24, 15:15 Document 2988785.1
CHANGES
New Environment
CAUSE
With soft filtering, AFD turns a device into a non-writable device by simply enabling its read-only bit. Multipath doesn't handle devices being set into read-only mode. They need to
be turned into read-write (rw) mode. Enabling soft-filtering would cause AFD to turn the device into read-only mode. This generates an udev event that causes the mpath* device
symblinks to disappear.
SOLUTION
If multipathing does not provide the ability to turn the mpath* devices into read-only, then AFD soft-filtering cannot work. So soft-filtering has to be disabled as a workaround.
#asmcmd afd_filter -d
REFERENCES
https://community.oracle.com/mosc/discussion/4546036/kernel-errors-trying-to-write-to-read-only-block-device-nvme
NOTE:2865373.1 - Oracle restart/RAC with multipath errored out "CLSRSC-180"
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=wf3vg1tj3_58&id=2988785.1 2/2