Owner's Manual

Deployment Guide 39
8
Edit the
/etc/fstab
file for the newly created file system by adding entries such as:
/dev/sdb1 /opt/oracle/oradata ext3 defaults 1 2
/dev/sdc1 /opt/oracle/recovery ext3 defaults 1 2
9
Ty p e :
mount /dev/sdb1 /opt/oracle/oradata
mount /dev/sdc1 /opt/oracle/recovery
10
Ty p e :
chown -R oracle.dba oradata recovery
Configuring Database Storage Using Oracle ASM
The following example assumes that you have two storage devices (sdb and sdc) available to create a
disk group for the database files, and a disk group to be used for flash back recovery and archive
log files, respectively.
1
Log in as
root
.
2
Create a primary partition for the entire device by typing:
fdisk /dev/sdb
3
Create a primary partition for the entire device by typing:
fdisk /dev/sdc
Configuring ASM Storage Using the RAW Device Interface
1
Edit the
/etc/sysconfig/rawdevices
file and add the following lines:
/dev/raw/ASM1 /dev/sdb1
/dev/raw/ASM2 /dev/sdc1
2
Restart the RAW Devices Service by typing:
service rawdevices restart
Configuring Database Storage Using the Oracle ASM Library Driver
This section provides procedures for configuring the storage device using ASM.
NOTE: Before you configure the ASM Library Driver, disable SELinux.
To temporarily disable SELinux, perform the following steps:
1
Log in as
root
.
2
At the command prompt, type:
setenforce 0