Perform this procedure to place the Oracle Database or recovery files on a separate file system from the Oracle base directory.
# df -h
Option | Description |
---|---|
Database Files |
Select one of the following:
|
Recovery Files |
Choose a file system with at least 2 GB of free disk space |
If you are using the same file system for multiple file types, then add the disk space requirements for each type to determine the total disk space requirement.
For example, given the user oracle
and Oracle Inventory Group oinstall
, and using the paths /u03/oradata/wrk_area
for Oracle Database files, and /u01/oradata/rcv_area
for the recovery area, these commands create the recommended subdirectories in each of the mount point directories and set the appropriate owner, group, and permissions on them:
Database file directory:
# mkdir /u01/oradata/ # chown oracle:oinstall /u01/oradata/ # chmod 775 /mount_point/oradata
The default location for the database file directory is $ORACLE_BASE/oradata
.
Recovery file directory (fast recovery area):
# mkdir /u01/oradata/rcv_area # chown oracle:oinstall /u01/app/oracle/fast_recovery_area # chmod 775 /u01/oradata/rcv_area
The default fast recovery area is $ORACLE_BASE/fast_recovery_area
.
Oracle recommends that you keep the fast recovery area on a separate physical disk than that of the database file directory. This method enables you to use the fast recovery area to retrieve data if the disk containing oradata is unusable for any reason.