Configure Oracle with ASM Based Storage

Configuring Oracle 11gR2 ASM Based Storage

Step 1: Check version of kernal

# uname -r

Step2: downloaded from the Oracle support site at:

Step 3: Install the Oracle asm on Linux machine

# rpm -i oracleasm-support-2.1.3-1.el5.x86_64.rpm
# rpm -i oracleasm-2.6.18-164.6.1.el5-2.0.5-1.el5.x86_64.rpm
# rpm -i oracleasmlib-2.0.4-1.el5.x86_64.rpm

Step 4: Configure the ASMLIB

# /etc/init.d/oracleasm configure
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]:

Step 5: Display the storage volume:

fdisk -l

Step 6: Create the Volume:

# /etc/init.d/oracleasm createdisk VOL2 /dev/dm-3

# /etc/init.d/oracleasm listdisks
# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
# /etc/init.d/oracleasm querydisk VOL1
Disk "VOL1" is a valid ASM disk
# /etc/init.d/oracleasm querydisk VOL2
Disk "VOL2" is a valid ASM disk

After that you can uses this disk as ASM disk in Oracle Software ./runInstaller