Owner's Manual

20
Use the
fdisk
utility to create a partition where you want to store your recovery
files.
For example:
sdc1
if your storage device is
sdc
4
Verify the new partition by entering the following command:
cat /proc/partitions
If you do not detect the new partition, type:
sfdisk -R /dev/sdb
sfdisk -R /dev/sdc
5
Enter 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
7
Enter the following command:
chown -R oracle.dba oradata recovery
/dev/sdc1 /opt/oracle/recovery ext3 defaults 1 2
8
Enter the following command:
mount /dev/sdb1 /opt/oracle/oradata
mount /dev/sdc1 /opt/oracle/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