Owner's Manual

22 Installing Oracle 11g R2 Database (Single Node)
Use the
fdisk
utility to create a partition to store your recovery files. For
example:
sdc1
if your storage device is
sdc
4
Verify the new partition by running the following command:
cat /proc/partitions
If you do not detect the new partition, type:
sfdisk -R /dev/sdb
sfdisk -R /dev/sdc
5
Run the following command:
mke2fs -j /dev/sdb1
mke2fs -j /dev/sdc1
6
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
7
Run the following command:
chown -R oracle.dba oradata recovery
8
Run the following command:
mount /dev/sdb1 /opt/oracle/oradata
mount /dev/sdc1 /opt/oracle/recovery
Configuring the Database Storage Disks for ASM
To configure the database storage disks for ASM using the ORACLEASM
library driver:
NOTE: The following example assumes that you have three storage devices (sdb,
sdc, and sdd) available, one to create a disk group for the ASM SP file, one for the
database files, and the last one for the Flash Recovery Area (FRA) respectively.
1
Log in as
root
.
2
Use either
fdisk
or
parted
to create a single whole-disk partition on the
three storage devices (
sdb
,
sdc
, and
sdd
).
book.book Page 22 Wednesday, August 4, 2010 11:57 AM