Why was my file system placed in read only mode?
Issue
-
Filesystem getting set
read only
due to hardware unavailability/inaccessibility.Jul 7 21:27:45 server kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery Jul 7 21:27:45 server kernel: last message repeated 3 times Jul 7 21:27:45 server kernel: sd 1:0:1:0: scsi: Device offlined - not ready after error recovery Jul 7 21:27:46 server kernel: message repeated 12 times Jul 7 21:27:46 server kernel: sd 1:0:0:0: rejecting I/O to offline device Jul 7 21:27:46 server kernel: sd 1:0:0:0: rejecting I/O to offline device Jul 7 21:27:46 server kernel: Buffer I/O error on device dm-14, logical block 39937 Jul 7 21:27:46 server kernel: lost page write due to I/O error on dm-14 Jul 7 21:27:46 server kernel: sd 1:0:0:0: rejecting I/O to offline device Jul 7 21:27:46 server kernel: last message repeated 2 times Jul 7 21:27:46 server kernel: sd 1:0:1:0: rejecting I/O to offline device
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Ext 2/3/4 filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.