My Oracle Support Banner

Adding OCR mirror fails with ORA-15041: diskgroup "DGT3" space exhausted due to existing OCR has Huge Allocated Space (Doc ID 1505714.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Adding OCR mirror to +OCR diskgroup which has 4GB total in size and 1948MB free, getting error:

Node1# /u01/app/11.2.0/grid/bin/ocrconfig -add +OCR;date
Monday, March 21, 2011  5:18:30 PM UTC
PROT-30: The Oracle Cluster Registry location to be added is not accessible
PROC-8: Cannot perform cluster registry operation because one of the parameters is invalid.
ORA-15056: additional error message
ORA-17502: ksfdcre:4 Failed to create file +DGT3.255.1
ORA-15041: diskgroup "DGT3" space exhausted
ORA-06512: at line 4

In this example, OCR diskgroup is created with disks of 2GB each.

ocrcheck
Status of Oracle Cluster Registry is as follows :
        Version                  :          3
        Total space (kbytes)     :    2098040
        Used space (kbytes)      :       7904
        Available space (kbytes) :    2090136
        ID                       :   21288201
        Device/File Name         :       +OCR
                                   Device/File integrity check succeeded

                                   Device/File not configured

                                   Device/File not configured

                                   Device/File not configured

                                   Device/File not configured


ASMCMD> lsdg
State            Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512   4096  1048576      4106        1948                  0                    1948              0                  N               OCR/


SQL> select GROUP_NUMBER,DISK_NUMBER,MOUNT_STATUS,REDUNDANCY,STATE,LABEL,PATH from v$asm_disk;SQL> SQL>

GROUP_NUMBER DISK_NUMBER MOUNT_STATUS          REDUNDANCY            STATE                    LABEL                PATH
------------ ----------- --------------------- --------------------- ------------------------ -------------------- ------------------------------
          2           0 CACHED                UNKNOWN               NORMAL                   OCR1                 ORCL:OCR1     
          2           1 CACHED                UNKNOWN               NORMAL                   OCR2                 ORCL:OCR2


SQL> select GROUP_NUMBER,NAME,TOTAL_MB/1024,FREE_MB/1024 from v$asm_diskgroup;

GROUP_NUMBER NAME                                                                     TOTAL_MB/1024  FREE_MB/1024
------------ ----------------------------------------------------------------------------- ------------- ------------
          2 OCR                                                                                           4.00976563   1.90234375

 

Changes

 Adding an OCR mirror to ASM Disk Group ( to existing ASM disk or after moving OCR to new disk)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.