Wednesday, September 29, 2010

How to Add a RAW device as ASM Disk in ASM Diskgroup?

First, we check that the raw device has been added according to the specification given in the ASM parameter file. For that we check what is the value of ASM instance parameter ASM_DISKSTRING by doing following:

The above command will show the value of parameter ASM_DISKSTRING. e.g. /dev/rdsk/emcpower*

/dev/rdsk/emcpower* means that the raw devices which are eligible for ASM discovery should be in format /dev/rdsk/emcpower*. For example if a new raw device emcpower42g is added, then it would be eligible.

Now we will add this raw device as ASM disk in an existing ASM diskgroup.

We can check which ASM diskgroups are available from v$asm_diskgroup dynamic view.

alter diskgroup data add disk '/dev/rdsk/emcpower42g';

Now we can check the name and path of newly added ASM disk from v$ASM_DISK view.

No comments:

Collaborate14

Presenting at

My Book

Speaking at:

It's All About Passion

Oracle ACE. Exadata Certified Specialist, Oracle Blogger, Oracle DBA, OCP in 11g DBA and 10g DBA and working in Oracle products since 2001. Speaker at conferences like Oracle Open World, UKOUG, Collaborate, Insync etc around the globe. Currently working with Pythian Australia as Senior Oracle DBA.