ocrconfig -add

Use the ocrconfig -add command to add an OCR ___location to a shared file system or Oracle Automatic Storage Management (Oracle ASM) disk group. OCR locations that you add must exist, have sufficient permissions, and, in the case of Oracle ASM disk groups, must be mounted before you can add them.

Syntax

ocrconfig -add location_name

Usage Notes

  • You must run this command as root.

  • The location_name variable can be a file name or the name of an Oracle ASM disk group. For example:

    • /oradbocfs/crs/data.ocr: You must create an empty (0 byte) OCR ___location

    • d:\oracle\mirror.ocr: You must create an empty (0 byte) OCR ___location

    • +newdg: Ensure that the disk group exists and is mounted

      If you specify an Oracle ASM disk group, then the name of the disk group must be preceded by a plus sign (+).

    See Also:

Example

To add an OCR ___location to the default ___location in Oracle ASM, data:

# ocrconfig -add +data