Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Devices ASMLib disks refer to in /dev: must they be the same across a cluster ?

SebinoJan 30 2020 — edited Jan 30 2020

Hi,

When looping through our ASMLib-configured disks listed in /dev/oracleasm/disks,

taking the minor-major numbers of each of them to look up the devices in /proc/partitions,

we've noticed references to /dev/dm-XX devices sometimes differ (for ex; you'll find for

say, disk DATA_002 a reference to /dev/sdp1 on node 1 of cluster whereas this DATA_002

will refer to /dev/sdb1 on node2).

Two questions:

1/ Should minor-major numbers output be the same when querying ASMLib disks with

"oracleasm querydisk -d <disk>" command executed on each node of a cluster ?

(should we find exact same "Disk <disk> is a valid ASM disk on device [min,maj]" message on both nodes ??)

2/ Whether the above is true or not, same question for devices referenced in /dev... ? (should my

DATA_002 display the same "/dev/dm-14" for ex. on both sides of our cluster... ?)

Tried to find doc about that but to no avail.

Thanks a lot.

Regards,

Sebino

Comments
Post Details
Added on Jan 30 2020
3 comments
1,143 views