asmcmd的cp命令小bug
從11g開始,asmcmd增加了新的cp命令,使得使用者可以在ASM和作業系統之間複製檔案。
不過新功能總是會存在bug的,比如在複製線上重做日誌的時候,出現了下面的問題:
bash-3.00$ asmcmd
ASMCMD> ls
DATA/
ASMCMD> cd DATA
ASMCMD> ls
RACTEST/
ASMCMD> cd RACTEST
ASMCMD> ls
CONTROLFILE/
DATAFILE/
ONLINELOG/
PARAMETERFILE/
TEMPFILE/
spfileractest.ora
ASMCMD> ls ONLINELOG
group_1.257.664395353
group_2.258.664395353
group_3.265.664398827
group_4.266.664398827
ASMCMD> cd ONLINELOG
ASMCMD> cp group_1.257.664395353 /data/redo01.log
source +DATA/RACTEST/ONLINELOG/group_1.257.664395353
target /data/redo01.log
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
file, /data/redo01.log, copy committed.
ASMCMD> cp /data/redo01.log +DATA/RACTEST/redo01.log
source /data/redo01.log
target +DATA/RACTEST/redo01.log
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
copying file(s)...
file, +DATA/ractest/redo01.log, copy committed.
僅僅複製一個檔案,Oracle居然重複顯示copying file(s)資訊50多次。
檢查查詢了一下metalink,發現文件Bug No. 5996064描述的正是這個現象,Oracle似乎計劃在11.1.0.7中解決這個問題。
不過目前看,似乎這個問題對cp命令本身沒有影響。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-442692/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASM】ASMCMD cp 命令ASM
- ASMCMD - cpASM
- oracle 11gR2 asmcmd工具增加 cp命令OracleASM
- Oracle ASM使用asmcmd中的cp命令來執行遠端複製OracleASM
- ASMCMD命令ASM
- CP命令
- ASMCMD中的各個命令ASM
- asmcmd命令學習ASM
- asmcmd命令用法教程ASM
- linux 的cp命令Linux
- Linux命令—–CP命令Linux
- Oracle ASMCMD命令參考OracleASM
- RMAN CROSSCHECK命令小bug(轉)ROS
- Linux cp命令Linux
- 兩個高效的cp 命令用法!
- cp 命令兩個高效的用法
- 小CP做遊戲的新思路遊戲
- Linux基礎命令---cpLinux
- Linux命令 --- cp與scpLinux
- aix基本命令之 cpAI
- ASM命令列管理工具asmcmdASM命令列
- Linux常用基本命令[cp]Linux
- 每天一個 Linux 命令(8):cp 命令Linux
- linux之cp/scp命令+scp命令詳解Linux
- Linux cp命令和scp命令使用詳解Linux
- grid使用者asmcmd命令相關ASM
- 學習ASM技術(六)-- ASMCMD命令列ASM命令列
- Linux 常用基本命令 cp mvLinux
- 關於close函式和cp命令函式
- 【asmcmd】使用asmcmd工具管理ASMASM
- 兩種 cp 命令的絕佳用法的快捷方式
- asmcmdASM
- Linux命令引數詳細解析-cpLinux
- Oracle srvctl的小bugOracle
- Debug 的主要命令
- Linux命令學習(mkdir,cp,mv,rm,ln)Linux
- 使用asmcmdASM
- 彙編必知小知識點及常用debug命令