Re: Linux devices for ASM

  • From: Viljo Hakala <viha@xxxxxxxx>
  • To: Matthew Zito <mzito@xxxxxxxxxxx>
  • Date: Mon, 9 Jun 2008 18:25:48 +0300

In Linux, multipathing can be configured at /etc/multipath.conf

Look at the "alias" entries. Usually /dev/mapper/* disks should
be logically named (ie. alias - crsdisk01 etc.)

Also note how the RAW devices were created for voting and cluster
registry disks.  

Btw, Oracle Clusterware takes an automatic backup of the cluster
registry. 

/etc/init.d/oracleasm listdisks  # logical ASM disks

Then check ls /dev/oracleasm/disks

ls /dev/oracleasm/disks | grep DISK_NAME


export ORACLE_SID=+ASM

$ sqlplus '/ as sysdba'
...

SQL> show parameter asm_diskstring;

NAME                                 TYPE        VALUE
------------------------------------ -----------
------------------------------
asm_diskstring                       string      /dev/oracleasm/disks/*
SQL> select path from v$asm_disk;

PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/DISK1

O Mon, Jun 09, 2008 at 11:11:01AM -0400, Matthew Zito wrote:
> 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).
> 
>  
> 
> Matt
> 
>  
> 
> ________________________________
> 
> From: oracle-l-bounce@xxxxxxxxxxxxx
> [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Allan Nelson
> Sent: Monday, June 09, 2008 10:16 AM
> To: Oracle-L Freelists
> Subject: Linux devices for ASM
> 
>  
> 
> 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
> RHEL 4.6
> 
> Thanks
> Allan
> 

-- 
Viljo Hakala
DBA & Oracle Certified Professional
--
//www.freelists.org/webpage/oracle-l


Other related posts: