Edit the Mapping File for RAW Devices


Related Topics


Oracle 9.2 and 10g use an environment variable called DBCA_RAW_CONFIG, and mapping file that tells the Oracle database application where to create data files, redo files and control files. DBCA_RAW_CONFIG is the variable indicating path of mapping file.

The mapping file must be modified to point to the CXBF devices created for the RAW devices.

To edit the mapping file:

  1. Open the mapping file.
  2. Replace the RAW devices with the appropriate CXBF devices. For example:

    System=/dev/rdsk/c1t0d2s1

    Change to:

    System=/dev/cxbf/rdsk/c1t0d2s1

  3. Ensure the permissions for the devices are set to the Oracle user and Oracle group:

    chown Oracle:dba /dev/cxbf/rdsk/c1t1d1s1

    chmod 600 /dev/cxbf/rdsk/c1t0d2s1

  4. Start the Oracle database.