Prepare Raw Devices for ASM on AIX 6.1 (RAC 11gR2)

To Configure RAC 11gR2 on AIX 6.1 using ASM. You need to prepare the raw devices like below. The general location for raw devices on AIX is /dev. The disk names are like /dev/rhdisk*

# lsattr -E -l hdisk3 | grep reserve_
reserve_policy no_reserve
#chdev -l hdisk3 -a [ reserve_lock=no | reserve_policy=no_reserve ]
reserve_policy is for AIX storage, rreserve_lock is for EMC and other storage. You need to change the
reserve option on every storage device you will be using in ASM

prmdb[/dev] # /usr/sbin/chdev -l hdisk3 -a pv=clear
hdisk3 changed
prmdb[/dev] # /usr/sbin/chdev -l hdisk2 -a pv=clear
hdisk2 changed
prmdb[/dev] # /usr/sbin/chdev -l hdisk4 -a pv=clear
hdisk4 changed

prmdb[/dev] # chmod 660 rhdisk4
prmdb[/dev] # chmod 660 rhdisk3
prmdb[/dev] # chmod 660 rhdisk2

prmdb[/dev] # chown grid:asmadmin rhdisk2
prmdb[/dev] # chown grid:asmadmin rhdisk4
prmdb[/dev] # chown grid:asmadmin rhdisk3

If you get error that you cannnot create the disk group then clear the raw devices using below command( this generally happens when you had previously configured an ASM instance to use these raw devices and it was a failed installation and you are installing again)

chdev -l hdisk4 -a pv=yes
chdev -l hdisk3 -a pv=yes
chdev -l hdisk2 -a pv=yes


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s