Skip to Main Content

Chinese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ASM中OCR存储文件疑问

小电工IINov 23 2012 — edited Nov 23 2012
OS: READHAT 5.8
DB: 11.2.0.3
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2908
         Available space (kbytes) :     259212
         ID                       :  917958684
         Device/File Name         :     +OCRDG
                                    Device/File integrity check succeeded

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

         Cluster registry integrity check succeeded

         Logical corruption check succeeded

[grid@rac1 ~]$ asmcmd -p
ASMCMD [+] > cd OCRDG
ASMCMD [+OCRDG] > ls
rac-cluster/
ASMCMD [+OCRDG] > ls
rac-cluster/
ASMCMD [+OCRDG] > cd rac*
ASMCMD [+OCRDG/rac-cluster] > ls
ASMPARAMETERFILE/
OCRFILE/
ASMCMD [+OCRDG/rac-cluster] > cd ocrfile
ASMCMD [+OCRDG/rac-cluster/ocrfile] > ls
REGISTRY.255.800015219
ASMCMD [+OCRDG/rac-cluster/ocrfile] > 
OCR存储在ASM中,使用ocrcheck,查找所在磁盘组,asmcmd 下进入磁盘组,未发现具体OCR文件,只有asm spfile
而在共享文件系统如ocfs下存储的OCR可以找到具体文件(如下)
[oracle@bfsty1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          2
         Total space (kbytes)     :     262144
         Used space (kbytes)      :       3272
         Available space (kbytes) :     258872
         ID                       : 1699483969
         Device/File Name         : /ocfs_data1/crs/ocr.dbf
                                    Device/File integrity check succeeded
         Device/File Name         : /ocfs_data2/crs/ocr2.dbf
                                    Device/File integrity check succeeded

         Cluster registry integrity check succeeded
是否在ASM中是无法找到具体文件的?
This post has been answered by LiuMaclean(刘相兵) on Nov 23 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2012
Added on Nov 23 2012
1 comment
344 views