Owner's Manual
28 Deployment Guide
Configuring Database Storage
Configuring Database Storage Using ex3 File System
If you have additional storage, perform the following steps:
1
Log in as
root
.
2
Ty p e :
cd /opt/oracle
3
Ty p e :
mkdir oradata recovery
4
Using
fdisk
, create a partition where you want to store your database files (for example,
sdb1
if your
storage device is
sdb
).
5
Using
fdisk
, create a partition where you want to store your recovery files (for example,
sdc1
if your
storage device is
sdc
).
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 -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.