How To: IDENTIFY THE ASM DEVICE FROM ASMLIB
Posted syksky
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How To: IDENTIFY THE ASM DEVICE FROM ASMLIB相关的知识,希望对你有一定的参考价值。
使用oracleasm querydisk可以查询到device的major和minor,从而对应。
for i in `oracleasm listdisks` do oracleasm querydisk -d $i done
示例输出:
[[email protected] ~]# for i in `oracleasm listdisks` > do > oracleasm querydisk -d $i > done Disk "ARCH_VOL1" is a valid ASM disk on device /dev/dm-9[253,9] Disk "DATA_VOL1" is a valid ASM disk on device /dev/dm-3[253,3] Disk "DATA_VOL2" is a valid ASM disk on device /dev/dm-4[253,4] Disk "DATA_VOL3" is a valid ASM disk on device /dev/dm-5[253,5] Disk "DATA_VOL4" is a valid ASM disk on device /dev/dm-6[253,6] Disk "DATA_VOL5" is a valid ASM disk on device /dev/dm-7[253,7] Disk "DATA_VOL6" is a valid ASM disk on device /dev/dm-8[253,8] Disk "OCR_VOL1" is a valid ASM disk on device /dev/dm-0[253,0] Disk "OCR_VOL2" is a valid ASM disk on device /dev/dm-1[253,1] Disk "OCR_VOL3" is a valid ASM disk on device /dev/dm-2[253,2]
以上是关于How To: IDENTIFY THE ASM DEVICE FROM ASMLIB的主要内容,如果未能解决你的问题,请参考以下文章
How To Upgrade ASM from 10.2 to 11.1 (RAC)
论文阅读 | Employing the Correspondence of Relations and Connectives to Identify Implicit Discourse Rela
How to cleanup ASM installation (RAC and Non-RAC) [ID 311350.1]
解决:Unable to identify index name. XXXModel is not a Document. Make sure the document class is annota
How to copy a datafile from ASM to a file system not using RMAN
How To Create An ASM Diskgroup Using XML code Thru ASMCMD [ID 1290550.1]