asmcmd cp: ORA-27052: Unable To Flush File Data Linux-x86_64 Error: 5: Input/output Error
Last updated on FEBRUARY 02, 2018
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
using asmcmd cp to copy from ASM to NFS
On : 220.127.116.11 version, STORAGE
asmcmd cp: ORA-27052: unable to flush file data Linux-x86_64 Error: 5: Input/output error
ASMCMD-8016: copy source '+FRA/GADEVLAP/DUMPSET/GADEVLAP_20171218.180001_01.dmp' and target '/mnt/dbstor/GADEVLAP/export/GADEVLAP_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/GADEVLAP/export/GADEVLAP_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)
The issue can be reproduced at will with the following steps:
+ asmcmd cp +FRA/GADEVLAP/DUMPSET/GADEVLAP_20171218.180001_01.dmp /mnt/dbstor/GADEVLAP/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.
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