I recently tried to move my ocr file from raw device to asm diskgroup and got the following error:
[root@auprac01 bin]# ./ocrconfig -add +FLASH_RECOVERY_AREA
PROT-30: The Oracle Cluster Registry location to be added is not usable
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 +FLASH_RECOVERY_AREA.255.1
ORA-15041: diskgroup "FLASH_RECOVERY_AREA" space exhausted
ORA-06512: at line 4
I found in Metalink the Adding OCR mirror fails with ORA-15041: diskgroup /dev/raw/raw1"DGT3" space exhausted due to existing OCR has Huge Allocated Space (Doc ID 1505714.1)
It recommends I do something like:
Restore OCR to a smaller size of raw device, thus the total space of OCR from ocrcheck changes to smaller size.
Then add OCR to a diskgroup bigger than the total size will work.
Now the problem is we created our /dev/raw/raw1 and /dev/raw/raw2 partitions too big so I can see why the error happens.
Can I do a ocrconfig -replace to a raw partition that is say 500m that way it will move into the diskgroup cleanly? As this is a production system I am trying to think of ways that don't require a whole cluster outage - we are on a 2 node rac.
Any thoughts?
Thanks