Login with root user
1) Identify asm disks
/etc/init.d/oracleasm listdisks DATA01
2) Query disks FOR DATA01
/etc/init.d/oracleasm querydisk -p DATA01 Disk "DATA01" is a valid ASM disk /dev/sde2: LABEL="DATA01" TYPE="oracleasm"
or find this way
/etc/init.d/oracleasm querydisk -d DATA01 Disk "DATA01" is a valid ASM disk on device /dev/sde2[8,66] ls -l /dev | grep 8 | grep 66 brw-r----- 1 root disk 8, 66 Jan 11 06:51 sde2
It means that physical partition sde2 is using for ASM disk DATA01.
That was very helpful, thanks.
ReplyDelete