My Oracle Support Banner

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

Last updated on FEBRUARY 26, 2020

Applies to:

Linux OS - Version Oracle Linux 5.2 to Oracle Linux 5.4 [Release OL5U2 to OL5U4]
Oracle Cloud Infrastructure - Version N/A 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: '<DIR>/<SID>/<FILENAME>.dbf' (error 19502)
(<SID>1)
Mon Mar 29 14:11:37 2010
Errors in file <DIR>/<FILENAME>.trc:
ORA-19502: write error on file "<DIR>/<SID>/<FILENAME>.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 "<DIR>/<SID>/<FILENAME>.dbf", blockno 292865 (blocksize=512)
Mon Mar 29 14:11:37 2010
Errors in file <DIR>/<FILENAME>.trc:
ORA-19502: write error on file "<DIR>/<SID>/<FILENAME>.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 <HOST> kernel: (11651,1):__ocfs2_file_aio_write:2251 EXIT: -5
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139203
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139204
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139205
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139206
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139207
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139208
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139209
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139210
May 8 04:34:43 <HOST> kernel: (5893,0):ocfs2_bmap:544 EXIT: 139211
May 8 04:34:44 <HOST> kernel: (5894,2):ocfs2_commit_cache:208 EXIT: 0
May 8 04:34:44 <HOST> kernel: (5889,3):__ocfs2_stuff_meta_lvb:1781 EXIT






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
References


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