My Oracle Support Banner

OCFS2 Fileystem Switches To Read-Only Mode (Doc ID 566353.1)

Last updated on APRIL 03, 2019

Applies to:

Linux OS - Version 1.2.0-1 to 1.2.5-1 [Release OCFS2]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86
Linux x86-64Linux x86

Symptoms

The symptom of this problem is that write operations to a filesystem that is normally mounted in read/write mode suddenly start failing.  In the file /var/log/messages there is an entry similar to this:

Oct 1 10:31:38 <HOST> kernel: OCFS2: ERROR (device emcpowerm1): ocfs2_check_group_descriptor: Group descriptor #22708224 has bit count 32256 but claims that 32291 are free
Oct 1 10:31:38 <HOST> kernel: File system is now read-only due to the potential of on-disk corruption. Please run fsck.ocfs2 once the file system is unmounted.
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_search_chain:1064 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_claim_suballoc_bits:1231 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_claim_clusters:1466 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_local_alloc_new_window:850 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_local_alloc_slide_window:957 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_reserve_local_alloc_bits:513 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_reserve_clusters:645 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_extend_file:837 ERROR: status = -5
Oct 1 10:31:38 <HOST> kernel: (16913,2):ocfs2_write_lock_maybe_extend:718 ERROR: status = -5


This example shows an OCFS2 filesystem but most Linux filesystems, including the EXT3 layout, show this behavior.  This note concentrates on OCFS2, however.

Cause

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
Symptoms
Cause
Solution
 Prerequisites
 Corrective Action
References


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