Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Monday, December 12, 2011

How to add disks to existing ASM disk group in 11gR2

Here I am going to show you how to add new disks( or extra space/storage) to the existing ASM diskgroups.

Given:

Unix SA has provided/presented the new raw devices with the same size as the existing disks in our ASM disk group.


here my asm discovery path or the location where the new disks have been presented is
"/dev/oracle/"

given/need to add the six new disks:
crw------- 1 oracle oinstall 302, 42061 Dec 8 14:59 disk64g_t1_0028
crw------- 1 oracle oinstall 302, 42062 Dec 8 14:59 disk64g_t1_0029
crw------- 1 oracle oinstall 302, 42063 Dec 8 14:59 disk64g_t1_0030
crw------- 1 oracle oinstall 302, 42064 Dec 8 14:59 disk64g_t1_0031
crw------- 1 oracle oinstall 302, 42065 Dec 8 14:59 disk64g_t1_0032
crw------- 1 oracle oinstall 302, 42066 Dec 8 14:59 disk64g_t1_0033


current disk group info:

ASM Diskgroup information ..


DiskGroup Name %Used TOTAL_MB FREE_MB
-------------------- ----- ------------ ------------
ICMQA_DATA_01 95 1,768,532 85,547


To the above disk group we are going to add new disks.


Invoke asmca after setting the X11 and display settings.


my unix host(+ASM1) /export/home/oracle
>asmca


then follow the screen shots.




now click on disk groups.



right click on the disk group where you want to add new disks to.




click on add disks.




now select the disks that you want to add to and click ok.





disks have added now.

After adding the disks.





ASM Diskgroup information ..


DiskGroup Name %Used TOTAL_MB FREE_MB
-------------------- ----- ------------ ------------
ICMQA_DATA_01 78 2,161,538 478,541

2 comments:

Anonymous said...

Assalamu alaikum wa Rahmatullahi wa barakaatuhu,

Jazakumullaahu khair for your post and for the Hadith

BaarakAllaahu feekum

Anonymous said...

After adding disks, is it not necessary to make them as ASM disks
by running oracleasm createdisk.

/etc/init.d/oracleasm createdisk ASM1 /dev/oracle/disk64g_t1_0028
Marking disk "ASM1" as an ASM disk: [ OK ]

/etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]