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.