Monday, June 22, 2015

Find the mapping of ASM Disk to Physical Device.

1. Disk list of oracleasm

[root@OEL564ASMN1 ~]# oracleasm listdisks
DATAVOL1
FRAVOL1
RMAN_BKP

2. Physical Device for ASM Disks.

[root@OEL564ASMN1 ~]# /etc/init.d/oracleasm querydisk -p DATAVOL1
Disk "DATAVOL1" is a valid ASM disk
/dev/sdb1: LABEL="DATAVOL1" TYPE="oracleasm"
[root@OEL564ASMN1 ~]# /etc/init.d/oracleasm querydisk -p FRAVOL1
Disk "FRAVOL1" is a valid ASM disk
/dev/sdc1: LABEL="FRAVOL1" TYPE="oracleasm"

Or

[root@OEL564ASMN1 ~]# /etc/init.d/oracleasm querydisk -d DATAVOL1
Disk "DATAVOL1" is a valid ASM disk on device /dev/sdb1[8,17]

3. ASM Disks Name for Physical Device.

[root@OEL564ASMN1 ~]# /etc/init.d/oracleasm querydisk /dev/sdb1
Device "/dev/sdb1" is marked an ASM disk with the label "DATAVOL1"

No comments:

Post a Comment