Post date: 15-Dec-2009 10:10:08
ID 741271.1
Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 11.1.0.6
This problem can occur on any platform.
OCR automatic backup can fill the $ORA_CRS_HOME/cdata/<cluster_name> directory with
random numbered file names.We see the file names like
-rw-r--r-- 1 root root 6402048 Jun 18 22:32 89554728
-rw-r--r-- 1 root root 6402048 Jun 19 02:32 67860954
-rw-r--r-- 1 root root 6402048 Jun 19 06:32 97045096
-rw-r--r-- 1 root root 6504448 Jun 19 10:32 15464344
-rw-r--r-- 1 root root 7217152 Jun 19 14:32 41856876
-rw-r--r-- 1 root root 7217152 Jun 19 18:32 47381601
-rw-r--r-- 1 root root 7217152 Jun 19 22:32 21554025
-rw-r--r-- 1 root root 7217152 Jun 20 02:32 20417528
-rw-r--r-- 1 root root 7217152 Jun 20 06:32 53947628
From 10.2.0.4 onwards the backup of OCR file is taken as a random number generated
file name instead of temp.ocr. And if there is any issue that CRSD can not copy this intermediate file to
regular standard files ( week.ocr , backup00.ocr etc ), then the file remains.
The issue comes when the regular backup files have wrong permission and they can not be replaced by crsd.
#ls -lrt
-rw-r--r-- 1 oracle root 6557696 Jun 6 18:07 week.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 13 18:07 week_.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 16 18:07 day.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 17 18:07 day_.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 18 06:07 backup02.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 18 10:07 backup01.ocr
-rw-r--r-- 1 oracle root 6569984 Jun 18 14:07 backup00.ocr
The ownership of the above should be root:root.
Check the permissions of the files inside the $ORA_CRS_HOME/cdata/<clustername>.
If the permission are not root:root then change permission like
chown root:root *.ocr
You can remove the old files (random files) once every thing is back to normal.
Bug 5893629- CRSD CRASHES AFTER BEING UNABLE TO DELETE BACKUP OCR FILE
Bug 7313884- NEWLY GENERATED OCR BACKUP IN CDATA DIRECTORY CAN'T BE RENAMED