Owner's Manual
34 Deployment Guide
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
Ty p e
fdisk /dev/sdb
to create a primary partition for the entire device.
3
Ty p e
fdisk /dev/sdc
to create a primary partition for the entire device.
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
Ty p e
service rawdevices restart
to restart the RAW Devices Service.
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