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 AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 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/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)

STEPS
-----------------------
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.

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!


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