Re: Linux devices for ASM
Date: Mon, 09 Jun 2008 20:40:03 -0600
On RHEL 4, you likely are using the multipath package, so you can find device-to-WWID mappings in /var/lib/multipath/bindings and "multipath -l" may help identify disks. If you're using iSCSI, then "iscsi-ls -l" may also help along with the other commands cited here.
I'm also a big fan of the "old school" viewing of disk information via /proc/partitions which gives device names and maj/min numbers as cached by the kernel. I know of no more direct way to see what the kernel thinks the disks are at any given point.
Matthew Zito wrote:
-- http://www.freelists.org/webpage/oracle-l Received on Mon Jun 09 2008 - 21:40:03 CDT
You can look in /dev/oracleasm/disks at the Major and Minor numbers, and then map that back to the major and minor numbers of the mpath devices (assuming you are using asmlib).
We had consultant come in and build a 3 node rac for us. I need to know how to find out which /dev/mapper/mpath devices are used in the asm diskgroup.
Oracle 10gR2 10.2.0.4