Thursday, August 04, 2011

How to find mapping of ASM disks to Physical Devices?



1.Login as oracle and list ASM diskgroups

$ oracleasm listdisks
DATA1

2. Query Disk
$ oracleasm querydisk -d  DATA1
Disk "DATA1" is a valid ASM disk on device [8, 33]

3. oracleasm querydisk  DATA1  you will get in addition the major - minor numbers, that can be used to match the physical device,
# ls -l /dev |grep 8|grep 33
brw-r----- 1 root disk     8,  33 Aug  2 16:10 sdc1

Hope this help! Rupam