copy一个口令文件到磁盘组中,应该使用asmcmd的pwcopy命令,但是不小心路径问题,提示了一堆吓人的报错信息。
-
ASMCMD [+datadg/ORCLP/PARAMETERFILE] > pwcopy /tmp/orapworcl1 +DATADG/ORCLP/PASSWORD/pwdorclp
-
copying /tmp/orapworcl1 -> +DATADG/ORCLP/PASSWORD/pwdorclp
-
ASMCMD-8016: copy source '/tmp/orapworcl1' and target '+DATADG/ORCLP/PASSWORD/pwdorclp' failed
-
ORA-19505: failed to identify file "+DATADG/ORCLP/PASSWORD/pwdorclp"
-
ORA-17502: ksfdcre:4 Failed to create file +DATADG/ORCLP/PASSWORD/pwdorclp
-
ORA-15056: additional error message
-
ORA-06512: at line 4
-
ORA-15173: entry 'PASSWORD' does not exist in directory 'orclP'
-
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 679
-
ORA-06512: at line 2
-
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 617
-
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
-
ASMCMD [+datadg/ORCLP/PARAMETERFILE] > cd ..
-
ASMCMD [+datadg/ORCLP] > ls
-
CONTROLFILE/
-
DATAFILE/
-
ONLINELOG/
-
PARAMETERFILE/
-
TEMPFILE/
-
ASMCMD [+datadg/ORCLP] > mkdir PASSWORD
-
ASMCMD [+datadg/ORCLP] > pwcopy /tmp/orapworcl1 +DATADG/ORCLP/PASSWORD/pwdorclp
-
copying /tmp/orapworcl1 -> +DATADG/ORCLP/PASSWORD/pwdorclp
-
ASMCMD [+datadg/ORCLP] >
阅读(1535) | 评论(0) | 转发(0) |