Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

File system went 'readonly'

EdStevensSep 10 2012 — edited Sep 11 2012
OL 5.6 x86-64

This really is a Linux question, please bear with the set-up.

This morning I discovered that one of my databases had crashed, reporting tht it couldn't write the control file because it was read-only:
ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: '/oradata/cognosdb/control02.ctl'
ORA-27072: File I/O error
Linux-x86_64 Error: 30: Read-only file system
I checked all the permission from / on down and they all looked good - everything was either rw- or rwx for the owner oracle, and mapped perfectly to all of my other databases as far as file/directory permissions went'.

/oradata/cognosdb is on a seperate mount point.

My SA couldn't find anything at the SAN level or in the presentation of the disks to the server, but one of her logs had shown earlier where the server lost a couple paths to each disk on the SAN (there are 4 paths to each disk), then corresponding messages saying it had regained those paths.

We eventually cleared the problem by dismounting the remouniting the disks.

While waiting on the SA I did some googling and saw some old messages about linux resetting a file system to readonly if it detected issues with the mount point. I didn't get very far into that.

Has anyone seen anythign like this before? If it was a matter of linux setting it to readonly due to the loss of the paths, where would we have expected to see confirmation of that? It wasn't showing in the standard file permissions from an 'ls' command.

All's well that ended well, but I thought I'd see if I could learn a little something extra to put in my toolbox.

Thx.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2012
Added on Sep 10 2012
2 comments
1,900 views