全部博文(389)
分类: Oracle
2013-06-15 17:50:54
在11.2.0.0.0以上exclusive方式启动css后,在使用ocrconfig -restore
[root@rac1 rac1]# ocrconfig -restore backup_20120704_055905.olr
PROT-16: Internal Error
通过client目录中的ocrconfig 中文件可以看到是compatible不兼容导致.
Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
2013-03-16 01:02:43.234: [ OCRCONF][363351568]ocrconfig starts...
2013-03-16 01:02:43.339: [ OCRASM][363351568]proprasmo: Error in open/create file in dg [DATA]
[ OCRASM][363351568]SLOS : SLOS: cat=8, opn=kgfoCr2P01, dep=15056, loc=kgfokge
ORA-17502: ksfdcre:4 Failed to create file +DATA.255.1
ORA-15221: ASM operation requires compatible.asm of 11.1.0.0.0 or higher
ORA-06512: at line 4
[ default][363351568]u_set_gbl_comp_error: OCR context was NULL
2013-03-16 01:02:43.383: [ OCRRAW][363351568]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2013-03-16 01:02:43.383: [ OCRRAW][363351568]proprioo: No OCR/OLR devices are usable
2013-03-16 01:02:43.383: [ OCRASM][363351568]proprasmcl: asmhandle is NULL
2013-03-16 01:02:43.383: [ OCRRAW][363351568]phy_rec:1:could not open OCR device
2013-03-16 01:02:43.383: [ OCRCONF][363351568]Failed to restore OCR/OLR from [backup_20120924_194313.ocr]
2013-03-16 01:02:43.383: [ OCRCONF][363351568]Exiting [status=failed]...
在ocrconfig恢复ocr到磁盘组上时,磁盘组的compatible.asm设为11.1.0.0.0后,恢复成功.