Wednesday, February 4, 2015

Asmcmd cp command gives ORA-15046

Copy process with following command for asm gave ORA-15046 error ,

asmcmd> cp +DISKGROUP1/thread_1_seq_113238.728.870731045 +DISKGROUP2/thread_1_seq_113238.728.870731045


ASMCMD-8016: copy source->'+DISKGROUP1/thread_1_seq_113238.728.870731045' and target->'+DISKGROUP2/thread_1_seq_113238.728.870731045' failed
ORA-15056: additional error message
ORA-15046: ASM file name '+DISKGROUP2/thread_1_seq_113238.728.870731045' is not in single-file creation form
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 413
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)

According to metalink target filename should not contain number incarnation.File is not in a form that can e used to create single file.

In order to fix this below command can be used in like form

asmcmd> cp +DISKGROUP1/thread_1_seq_113238.728.870731045 +DISKGROUP2/thread_1_seq_113238

No comments:

Post a Comment