ORION工具(二)
Oracle提供了一個免費的測試系統儲存系統效能的工具:orion。
這裡描述使用orion常見的問題。
ORION工具(一):http://yangtingkun.itpub.net/post/468/489322
別看orion的操作這麼簡單,但是使用過程中,還真是碰到了不少的錯誤。
root@ser1 # ./orion_solaris_sparc64 -run simple -testname mytest
ORION: ORacle IO Numbers -- Version 11.1.0.7.0
mytest_20090812_1028
Test will take approximately 9 minutes
Larger caches may take longer
storax_skgfr_openfiles: File identification failed on /dev/dsk/emcpower6a
OER 27037: please look up error in Oracle documentation
Additional information: 5
rwbase_lio_init_luns: lun_openvols failed
rwbase_rwluns: rwbase_lio_init_luns failed
orion_thread_main: rw_luns failed
Non test error occurred
Orion exiting
這是最先碰到的錯誤,這時指定的/dev/dsk/emcpower6a是目錄/data所掛載的磁碟,如果檢查對應的ora-27037錯誤會發現:
ORA-27037: unable to obtain file status
Cause: stat system call returned an error, additional information indicates which function encountered the error
Action: check errno
對於檔案系統而言,應該指定一個檔案,而不是一個目錄,因此報錯。只需將上面的/dev/dsk/emcpower6a改為/data目錄下的一個檔案的地址資訊就可以解決這個問題。
root@ser1 # ./orion_solaris_sparc64 -run simple -testname mytest
ORION: ORacle IO Numbers -- Version 11.1.0.7.0
mytest_20090812_1041
Test will take approximately 9 minutes
Larger caches may take longer
storax_skgfr_openfiles: File identification failed on /dev/rdsk/emcpower5a
OER 27041: please look up error in Oracle documentation
SVR4 Error: 6: No such device or address
Additional information: 2
rwbase_lio_init_luns: lun_openvols failed
rwbase_rwluns: rwbase_lio_init_luns failed
orion_thread_main: rw_luns failed
Non test error occurred
Orion exiting
Oracle對應的ORA-27041錯誤為:
ORA-27041: unable to open file
Cause: open system call returned an error, additional information indicates which function encountered the error
Action: check errno
導致這個錯誤是由於/dev/rdsk/emcpower5a沒有對應任何的裸裝置,實際上emcpower5對應的分割槽沒有分配0區間。
對於設定裸裝置也可能碰到上面的27037錯誤,這是由於裸裝置中並沒有複製檔案,導致orion找不到要讀取的檔案因此報錯,可以用dd複製檔案到裸裝置上,並完成測試:
root@ser1 # dd if=/data/10gr2_db_sol.cpio f=/dev/rdsk/emcpower5g
1792016+0 records in
1792016+0 records out
另外還可能碰到下面的錯誤:
bash-3.00$ ./orion_solaris_sparc64 -run simple -testname mytest
ORION: ORacle IO Numbers -- Version 11.1.0.7.0
mytest_20090812_1822
Test will take approximately 9 minutes
Larger caches may take longer
storax_skgfr_openfiles: File identification failed on /data/patch/p5337014_10203_SOLARIS64.zip
OER 27046: please look up error in Oracle documentation
Additional information: 1
rwbase_lio_init_luns: lun_openvols failed
rwbase_rwluns: rwbase_lio_init_luns failed
orion_thread_main: rw_luns failed
Non test error occurred
Orion exiting
Oracle的ORA-27046錯誤給出了原因:
ORA-27046: file size is not a multiple of logical block size
Cause: file size as indicated by stat is not correct, additional information indicates which function encountered the error
Action: verify that the file has not been overwritten or truncated
由於給定的zip檔案不是logical block的整數倍,因此導致這個問題。選擇一個Oracle資料庫相關的檔案測試即可。如果是裸裝置,可以在dd的時候控制裸裝置的檔案大小。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-612240/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- orion工具
- ORION工具(一)
- 【工具】ORION I/O 測試工具
- Oracle ORION IO 測試工具Oracle
- Orion - oracle提供的測試io效能的工具Oracle
- 【轉】Orion - oracle提供的測試io效能的工具Oracle
- ORACLE ORION介紹Oracle
- 資料庫壓力測試工具tiobench,orion,lmbench,netperf資料庫
- Oracle Orion Calibration ToolOracle
- orion使用的一些理解
- OROS Orion“宇航員範兒”的保暖外套ROS
- CLUVFY工具(二)
- Oracle ORION模擬Database負載測試儲存效能OracleDatabase負載
- Excel通用類工具(二)Excel
- 【工具】git筆記(二)Git筆記
- Oracle工具——ADRCI(二)Oracle
- Eclipse基金會將於7月釋出Orion 1.0版Eclipse
- 二維碼生成工具類
- 二維碼線上生成工具
- ORION可以模式Oracle資料庫的IO測試IOPS,MBPS模式Oracle資料庫
- 二維碼相關工具類
- Oracle備份之RMAN工具(二)Oracle
- 二進位制比對工具
- BBED工具的安裝使用(二)
- DBNEWID工具使用二:更改DBNAME
- 二維碼生成工具 Simple QrCode
- 二維碼生產工具 超讚
- 優秀的命令列工具整理(二)命令列
- 【MySQL】二、Innodb 恢復工具介紹MySql
- 併發工具類(二)同步屏障CyclicBarrier
- 自己上手寫效能測試工具(二)
- 二、人工智慧講義(工具篇)人工智慧
- Donkey框架之二:工具類模組框架
- 專業二維碼製作工具
- 【MySql】 MySql備份工具Xtrabackup之二MySql
- First Orion下週將在MWC大會上展示騷擾電話解決方案
- 工具 | Windows10 軟體推薦 (二)Windows
- 拖拽編寫SVG圖形化工具(二)SVG