Owner's Manual
Installing Oracle 11g R2 Database (Single Node) 23
Configuring Disks for ASM Using the ORACLEASM Library Driver
To configure disks for ASMusing the ORACLEASM library driver:
1
Open a terminal window and log in as
root
.
2
Perform the following steps:
a
Type the following and press <Enter>:
service oracleasm configure
b
Enter the following inputs:
Default user to own the driver interface [ ]:
grid
Default group to own the driver interface [ ]:
asmadmin
Start Oracle ASM library driver on boot (y/n) [n]:
y
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
y
3
In the terminal window, run the following commands:
service oracleasm createdisk ASM1 /dev/sdb1
service oracleasm createdisk ASM2 /dev/sdc1
service oracleasm createdisk ASM3 /dev/sdd1
4
Repeat 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, run the following command:
service oracleasm listdisks
The disks you created in step 3 are listed in the terminal window.
For example:
ASM1
,
ASM2
,
ASM3
book.book Page 23 Wednesday, August 4, 2010 11:57 AM