Matching Oracle ASM disks names with the physical devices

Quite often it’s required to find a physical device which backs up ASM disk. The easiest way a Linux administrator could accomplish that is by using oracleasm command (of course, if ASMlib was used to create them):

# oracleasm listdisks
ASMARCHIVE1
ASMARCHIVE2
ASMARCHIVE3
ASMDATA1
ASMDATA2
ASMDATA3
OCR1
OCR2
VOTEDISK1
VOTEDISK2
VOTEDISK3
# oracleasm querydisk -p OCR1
Disk "OCR1" is a valid ASM disk
/dev/mapper/mpath6: LABEL="OCR1" TYPE="oracleasm"
/dev/sdx: LABEL="OCR1" TYPE="oracleasm"
/dev/sdh: LABEL="OCR1" TYPE="oracleasm"
/dev/sdan: LABEL="OCR1" TYPE="oracleasm"
/dev/sdbd: LABEL="OCR1" TYPE="oracleasm"
Posted on October 8, 2013 at 11:40 pm by sergeyt · Permalink
In: Linux

Leave a Reply