Owner's Manual
30 Deployment Guide
6
Ty p e
cat /proc/partitions
to verify the new partition.
If you do not observe the new partition, type:
sfdisk -R /dev/sdb
sfdisk -R /dev/sdc
7
Ty p e :
mke2fs -j /dev/sdb1
mke2fs -j /dev/sdc1
8
Modify the
/etc/fstab
file by adding an entry for the newly created file system.
9
Ty p e :
mount /dev/sdb1 /opt/oracle/oradata
mount /dev/sdc1 /opt/oracle/recovery
10
Ty p e :
chown oracle.dba oradata recovery
Configuring Database Storage Using Oracle ASM
To configure your storage system using ASM, perform the following steps:
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
Type the following commands to change the names of the raw character devices to make them
identifiable:
mv /dev/raw/raw1 /dev/raw/ASM1
mv /dev/raw/raw2 /dev/raw/ASM2
chown oracle.dba /dev/raw/ASM1
chown oracle.dba /dev/raw/ASM2
3
Ty p e
fdisk /dev/sdb
to create a primary partition for the entire device.
4
Ty p e
fdisk /dev/sdc
to create a primary partition for the entire device.
5
Edit the
/etc/sysconfig/rawdevices
file and add the following lines:
/dev/raw/ASM1 /dev/sdb1
/dev/raw/ASM2 /dev/sdc1
6
Ty p e
service rawdevices restart
to restart the Raw Devices Service.