Guenadi N Jilevski's Oracle BLOG


Creating disk group in Oracle 11g R2


In this post we will look at how to add new disks, prepare the disks using Oracle ASMLib and will create a disk group using ASM Configuration Assistant (ASMCA) based on those newly added disks. ASMCA is introduced in Oracle 11gR2 to facilitate ASM new features management.

In case ASMLib is not installed, information related to ASMLIb can be found on OTN (click here). ASMLib libraries require installing the following packages corresponding to the Linux platform and kernel:

  • oracleasm-support
  • oracleasmlib
  • oracleasm


  1. Download and install the ASMLib packages that match the Linux platform and Linux kernel version in use.

rpm -Uvh oracleasm-support-*.rpm \

oracleasmlib-*.rpm \


  1. Configure the ASMLib as root

# oracleasm configure -i

Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library

driver. The following questions will determine whether the driver is

loaded on boot and what permissions it will have. The current values

will be shown in brackets (‘[]’). Hitting without typing an

answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle

Default group to own the driver interface []: dba

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]:

Writing Oracle ASM library driver configuration: done


  1. Create the disks using ‘oracleasm createdisk’ command as root. This command will make the disks available to ASMLib. We are adding DISK4, DISK5 and DISK6 as shown on the screenshot below. Perform a refresh of the ASM configuration using scandisks option. List the existing disks using the listdisks option to verify that ASMLib is aware of the marked new disks.


Now when the ASMLib is aware of the new disks invoke the ASM Configuration Assistant (ASMCA) logged in as the owner of the Oracle grid infrastructure. Click on the Create button.

Specify the Name of the new disk group, redundancy level and select the available disks to be part of the disk group.

Newly created group will be listed in the disk groups’ window tab.


We configured ASMLib and marked the disks for a new disk group. After AMLib become aware of the new disks we used asmca to create the new disk group.

July 6, 2010 Posted by | oracle | 3 Comments