我的RAC OCR及VOTING都用的RAW设备
raw /dev/raw/raw1 /dev/mapper/ocr1
raw /dev/raw/raw2 /dev/mapper/ocr2
raw /dev/raw/raw3 /dev/mapper/vot1
raw /dev/raw/raw4 /dev/mapper/vot2
raw /dev/raw/raw5 /dev/mapper/vot3
权限
crw-rw---- 1 root oinstall 162, 1 Jan 22 11:46 raw1
crw-rw---- 1 root oinstall 162, 2 Jan 22 11:46 raw2
crw-rw---- 1 oracle dba162, 3 Jan 22 11:46 raw3
crw-rw---- 1 oracle dba162, 4 Jan 22 11:46 raw4
crw-rw---- 1 oracle dba162, 5 Jan 22 11:46 raw5
[root@rac1 raw]# /u01/app/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 770.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script is complete
[root@rac1 raw]# /u01/app/crs/root.sh
WARNING: directory '/u01/app' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration
CRS日志报错:
2009-01-22 13:16:53.309: [ OCRCONF][2644501648]ocrconfig starts...
2009-01-22 13:16:53.310: [ OCRCONF][2644501648]Upgrading OCR data
2009-01-22 13:17:46.892: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:46.892: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:46.892: [OCRRAW][2644501648]proprioini: both disks are not OCR formatted
2009-01-22 13:17:46.892: [OCRRAW][2644501648]proprinit: Could not open raw device
2009-01-22 13:17:46.892: [ default][2644501648]a_init:7!: Backend init unsuccessful : [26]
2009-01-22 13:17:46.893: [ OCRCONF][2644501648]Exporting OCR data to [OCRUPGRADEFILE]
2009-01-22 13:17:46.893: [OCRAPI][2644501648]a_init:7!: Backend init unsuccessful : [33]
2009-01-22 13:17:46.893: [ OCRCONF][2644501648]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2009-01-22 13:17:47.039: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.039: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.039: [OCRRAW][2644501648]proprioini: both disks are not OCR formatted
2009-01-22 13:17:47.039: [OCRRAW][2644501648]proprinit: Could not open raw device
2009-01-22 13:17:47.039: [ default][2644501648]a_init:7!: Backend init unsuccessful : [26]
2009-01-22 13:17:47.049: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.049: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.050: [OCRRAW][2644501648]ibctx:1:ERROR: INVALID FORMAT
2009-01-22 13:17:47.050: [OCRRAW][2644501648]proprinit
roblem reading the bootblock or superbloc 22
2009-01-22 13:17:47.061: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.061: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.169: [OCRRAW][2644501648]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [1/2]
2009-01-22 13:17:47.176: [OCRRAW][2644501648]propriowv: Vote information on disk 1 [/dev/raw/raw2] is adjusted from [0/0] to [1/2]
2009-01-22 13:17:47.214: [OCRRAW][2644501648]propriniconfig:No 92 configuration
2009-01-22 13:17:47.214: [OCRAPI][2644501648]a_init:6a: Backend init successful
2009-01-22 13:17:47.269: [ OCRCONF][2644501648]Initialized DATABASE keys in OCR
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]csetskgfrblock0: clsfmt returned with error [4].
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]Failure in setting block0 [-1]
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]OCR block 0 is not set !
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]Exiting [status=failed]...
刚才看了/u01/app/crs/log/rac1/client/下的日志
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.All rights reserved.
2009-01-22 13:16:53.309: [ OCRCONF][2644501648]ocrconfig starts...
2009-01-22 13:16:53.310: [ OCRCONF][2644501648]Upgrading OCR data
2009-01-22 13:17:46.892: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:46.892: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:46.892: [OCRRAW][2644501648]proprioini: both disks are not OCR formatted
2009-01-22 13:17:46.892: [OCRRAW][2644501648]proprinit: Could not open raw device
2009-01-22 13:17:46.892: [ default][2644501648]a_init:7!: Backend init unsuccessful : [26]
2009-01-22 13:17:46.893: [ OCRCONF][2644501648]Exporting OCR data to [OCRUPGRADEFILE]
2009-01-22 13:17:46.893: [OCRAPI][2644501648]a_init:7!: Backend init unsuccessful : [33]
2009-01-22 13:17:46.893: [ OCRCONF][2644501648]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2009-01-22 13:17:47.039: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.039: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.039: [OCRRAW][2644501648]proprioini: both disks are not OCR formatted
2009-01-22 13:17:47.039: [OCRRAW][2644501648]proprinit: Could not open raw device
2009-01-22 13:17:47.039: [ default][2644501648]a_init:7!: Backend init unsuccessful : [26]
2009-01-22 13:17:47.049: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.049: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.050: [OCRRAW][2644501648]ibctx:1:ERROR: INVALID FORMAT
2009-01-22 13:17:47.050: [OCRRAW][2644501648]proprinit
roblem reading the bootblock or superbloc 22
2009-01-22 13:17:47.061: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.061: [OCRRAW][2644501648]propriogid:1: INVALID FORMAT
2009-01-22 13:17:47.169: [OCRRAW][2644501648]propriowv: Vote information on disk 0 [/dev/raw/raw1] is adjusted from [0/0] to [1/2]
2009-01-22 13:17:47.176: [OCRRAW][2644501648]propriowv: Vote information on disk 1 [/dev/raw/raw2] is adjusted from [0/0] to [1/2]
2009-01-22 13:17:47.214: [OCRRAW][2644501648]propriniconfig:No 92 configuration
2009-01-22 13:17:47.214: [OCRAPI][2644501648]a_init:6a: Backend init successful
2009-01-22 13:17:47.269: [ OCRCONF][2644501648]Initialized DATABASE keys in OCR
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]csetskgfrblock0: clsfmt returned with error [4].
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]Failure in setting block0 [-1]
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]OCR block 0 is not set !
2009-01-22 13:17:47.294: [ OCRCONF][2644501648]Exiting [status=failed]...
应该是使用RAW设备的问题,看到有人使用链接的方法。除了连接的方法外还有什么方法?
所以我想请教,dm raw ocr这三者之间如何设置,如何操作,谁能给个例子,谢谢
[ 本帖最后由 jasonfqw 于 2009-1-22 13:24 编辑 ]