Owner's Manual

Table Of Contents
Installing Oracle 11g R1 Database (Single Node) 31
3
In the terminal window, type the following:
service oracleasm createdisk ASM1 /dev/sdb1
service oracleasm createdisk ASM2 /dev/sdc1
On running the above command the following error message may be
displayed:
Marking disk "ASM1" as an ASM disk: [ FAILED]
If the error message is displayed, execute the following steps:
a
Use the
asmtool
command for the
/etc/init.d/oracleasm createdisk
operation:
/usr/sbin/asmtool -C -l /dev/oracleasm -n
<volume name> -s /dev/<emc device> -a force=yes
The tool reports:
asmtool: Device
/dev/<emc device>
is not a partition
asmtool: Continuing anyway
b
The permissions of the volume under /dev/oracleasm/disks/ are
root: root
.
To resolve this, reboot the system.
c
You can now use the device normally using the powerpath device
name.
4
Repeat step 1 through step 3 for any additional ASM disks that you need
to create.
5
Verify that the ASM disks are created and marked for ASM usage.
In the terminal window, enter the following and press <Enter>:
service oracleasm listdisks
The disks you created in step 3 are listed in the terminal window.
For example:
ASM1
ASM2