March 02, 2013

ASMLib disk Mapping to physical device

ASMLib disk Mapping to physical device
www.the-playground.de/joomla/index.php?option=com_content&view=article&id=306:ma

# oracleasm querydisk /dev/mapper/vol001
Device "/dev/mapper/vol001" is marked an ASM disk with the label "VOL001"

But what if you want to know what physical device is hidden behind the name of an ASMLib disk?
# oracleasm listdisks
VOL001
VOL002
VOL003
VOL004
...

The first attempt doesn't reveal too much:
# oracleasm querydisk VOL001
Disk "VOL001" is a valid ASM disk

# oracleasm querydisk -v -d VOL001
Disk "VOL001" is a valid ASM disk on device /dev/dm-4[253,4]

# oracleasm querydisk -v -p VOL001
Disk "ORC0001" is a valid ASM disk
/dev/mapper/vol001: LABEL="VOL001" TYPE="oracleasm"

No comments:

Post a Comment