Saturday, February 11, 2017

ASMCMD cp command fails with ASMCMD-8016 / ORA-15046 / ORA-06512/ ORA-15056

ASMCMD cp command fails with ORA-15046 ======================================

ASMCMD> cp +DATA2/orcl/tempfile/temp1.269.935535665 +DATA1/ORCL/DATAFILE/temp1.269.935535665
copying +DATA2/orcl/tempfile/temp1.269.935535665 -> +DATA1/ORCL/DATAFILE/temp1.269.935535665
ASMCMD-8016: copy source '+DATA2/orcl/tempfile/temp1.269.935535665' and target '+DATA1/ORCL/DATAFILE/temp1.269.935535665' failed
ORA-15056: additional error message
ORA-15046: ASM file name '+DATA1/ORCL/DATAFILE/temp1.269.935535665' is not in single-file creation form
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 415
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
ASMCMD>
ASMCMD>



* The target file name specified is not a valid file name.
* The cp command failed because the ASM file name was not in a form that can be used to create an single file.
* The file name should not contain the file number/incarnation.

The cp command failed because the ASM file name was not in a form that can be used to create an single file.File name should not contain the file number/incarnation

       
ASMCMD>
ASMCMD> cp +DATA2/orcl/tempfile/temp1.269.935535665 +DATA1/ORCL/DATAFILE/temp1_new
copying +DATA2/orcl/tempfile/temp1.269.935535665 -> +DATA1/ORCL/DATAFILE/temp1_new
ASMCMD>
ASMCMD>

ASMCMD> cd +DATA1/ORCL/DATAFILE/
ASMCMD> ls -l
Type      Redund  Striped  Time             Sys  Name
                                            N    temp1_new => +DATA1/ASM/TEMPFILE/temp1_new.256.935624893
ASMCMD>
Ref:
=====
ASMCMD cp command fails with ORA-15046 (Doc ID 452158.1)

No comments:

Post a Comment