My Oracle Support Banner

asmcmd cp: ORA-27052: Unable To Flush File Data Linux-x86_64 Error: 5: Input/output Error (Doc ID 2356834.1)

Last updated on DECEMBER 15, 2022

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
using asmcmd cp to copy from ASM to NFS

Symptoms

On : 12.1.0.2 version, STORAGE

asmcmd cp: ORA-27052: unable to flush file data Linux-x86_64 Error: 5: Input/output error

ERROR
-----------------------
ASMCMD-8016: copy source '+FRA/<name>/DUMPSET/<name>_20171218.180001_01.dmp' and target '/mnt/dbstor/<name>/export/<name>_20171218.180001_01.dmp' failed
ORA-27052: unable to flush file data
Linux-x86_64 Error: 5: Input/output error
Additional information: 1
ORA-15120: ASM file name '/mnt/dbstor/<name>/export/<name>_20171218.180001_01.dmp' does not begin with the ASM prefix character
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 486
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

+ asmcmd cp +FRA/<name>/DUMPSET/<name>_20171218.180001_01.dmp /mnt/dbstor/<name>/export

The goal here is to move backups to another host that has a tape drive, this one does not.
Then it can be backed up and the dmp file deleted. Usually this works, but not always. Why?
If I retry enough it will probably succeed. The error implies the file is corrupt, this is not the case.

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.