Error "__ocfs2_file_aio_write:2251 EXIT: -5" in Syslog (Doc ID 1129192.1)

Last updated on JULY 12, 2010

Applies to:

Linux OS - Version: 5.2 to 5.4 - Release: OEL5U2 to OEL5U4
Linux OS - Version: 1.4 and later ]
Information in this document applies to any platform.

Symptoms

The most common seen symptom is a database write error on OCFS2 volumes,  it can been found in alert log like below:

<snip>
ARC0: Encountered disk I/O error 19502
Mon Mar 29 14:11:36 2010
ARC0: Closing local archive destination LOG_ARCHIVE_DEST_1: '/opt/oracle/UtilFlash/arch/esis/1_17519_661281860.dbf' (error 19502)
(esis1)
Mon Mar 29 14:11:37 2010
Errors in file /opt/oracle/admin/esis/bdump/esis1_arc0_22579.trc:
ORA-19502: write error on file "/opt/oracle/UtilFlash/arch/esis/1_17519_661281860.dbf", blockno 292865 (blocksize=512)
ORA-27072: File I/O error
Linux-x86_64 Error: 5: Input/output error
Additional information: 4
Additional information: 292865
Additional information: -1
ORA-19502: write error on file "/opt/oracle/UtilFlash/arch/esis/1_17519_661281860.dbf", blockno 292865 (blocksize=512)
Mon Mar 29 14:11:37 2010
Errors in file /opt/oracle/admin/esis/bdump/esis1_arc0_22579.trc:
ORA-19502: write error on file "/opt/oracle/UtilFlash/arch/esis/1_17519_661281860.dbf", blockno 292865 (blocksize=512)
ORA-27072: File I/O error
Linux-x86_64 Error: 5: Input/output error
Additional information: 4
Additional information: 292865
Additional information: -1
<snip>

If you do some further investigation with "debugfs.ocfs2 -l EXIT allow", you get below error in syslog:

May 8 04:34:43 esis-node1 kernel: (11651,1):__ocfs2_file_aio_write:2251 EXIT: -5
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139203
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139204
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139205
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139206
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139207
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139208
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139209
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139210
May 8 04:34:43 esis-node1 kernel: (5893,0):ocfs2_bmap:544 EXIT: 139211
May 8 04:34:44 esis-node1 kernel: (5894,2):ocfs2_commit_cache:208 EXIT: 0
May 8 04:34:44 esis-node1 kernel: (5889,3):__ocfs2_stuff_meta_lvb:1781 EXIT





Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms