Home > clusterware > Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage CRS daemons not set to start.

Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage CRS daemons not set to start.

Problem:

1. Instantiate Oracle 11gR1 clusterware by the $CRS_HOME/root.sh in solaris 10 on SPARCH Server, it returns as the following

# ./root.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: jracdb1 jracdb1-priv jracdb1
node 2: jracdb2 jracdb2-priv jracdb2
Creating OCR keys for user ‘root’, privgrp ‘root’..
Operation successful.
Now formatting voting device: /dev/asmdisk/vot1
Now formatting voting device: /dev/asmdisk/vot2
Now formatting voting device: /dev/asmdisk/vot3
Format of 3 voting devices complete.
Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage
CRS daemons not set to start.

2. From the $CRS_HOME/log/jracdb1/client/ocrconfig_xxxx.log, get the message

Oracle Database 11g CRS Release 11.1.0.7.0 – Production Copyright 1996, 2007 Oracle. All rights reserved.
2012-08-30 09:17:16.625: [ OCRCONF][1]ocrconfig starts…
2012-08-30 09:17:16.627: [ OCRCONF][1]Upgrading OCR data
2012-08-30 09:17:16.941: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:16.946: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:16.946: [  OCRRAW][1]proprioini: both disks are not OCR formatted
2012-08-30 09:17:16.946: [  OCRRAW][1]proprinit: Could not open raw device
2012-08-30 09:17:16.947: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2012-08-30 09:17:16.948: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
2012-08-30 09:17:16.949: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
2012-08-30 09:17:16.949: [ OCRCONF][1]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured]
2012-08-30 09:17:16.979: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:16.979: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:16.979: [  OCRRAW][1]proprioini: both disks are not OCR formatted
2012-08-30 09:17:16.979: [  OCRRAW][1]proprinit: Could not open raw device
2012-08-30 09:17:16.980: [ default][1]a_init:7!: Backend init unsuccessful : [26]
2012-08-30 09:17:17.009: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:17.010: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:17.012: [  OCRRAW][1]ibctx:1:ERROR: INVALID FORMAT
2012-08-30 09:17:17.012: [  OCRRAW][1]proprinit:problem reading the bootblock or superbloc 22
2012-08-30 09:17:17.041: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:17.041: [  OCRRAW][1]propriogid:1: INVALID FORMAT
2012-08-30 09:17:17.048: [  OCRRAW][1]propriowv_bootbuf: Vote information on disk 0 [/dev/asmdisk/ocr1] is adjusted from [0/0] to [1/2]
2012-08-30 09:17:17.048: [  OCRRAW][1]propriowv_bootbuf: Vote information on disk 1 [/dev/asmdisk/ocr2] is adjusted from [0/0] to [1/2]
2012-08-30 09:17:17.071: [  OCRRAW][1]iniconfig:No 92 configuration
2012-08-30 09:17:17.095: [  OCRAPI][1]a_init:6a: Backend init successful
2012-08-30 09:17:17.189: [ OCRCONF][1]Initialized DATABASE keys in OCR
2012-08-30 09:17:17.330: [ OCRCONF][1]csetskgfrblock0: output from clsmft: [WARNING:DKIOCGAPART ioctl failed with errno=48

clsfmt: successfully initialized file /dev/asmdisk/ocr1
]
2012-08-30 09:17:17.467: [ OCRCONF][1]csetskgfrblock0: output from clsmft: [WARNING:DKIOCGAPART ioctl failed with errno=48

clsfmt: successfully initialized file /dev/asmdisk/ocr2
]
2012-08-30 09:17:17.477: [ OCRCONF][1]Successfully set skgfr block 0
2012-08-30 09:17:17.478: [ OCRCONF][1]Exiting [status=success]…

Fixed the problem

Finally, I found that the problem was caused by the disk label format. By default, the OCR raw disk I use EFI label. After I changed it to SMI label. The problem was fixed. The procedure to change label was shown as below

# format -e
Searching for disks…done

AVAILABLE DISK SELECTIONS:
0. c0d0 <SUN-DiskImage-60GB cyl 1704 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@0
1. c0d1 <SUN-DiskSlice-504MB cyl 64 alt 2 hd 64 sec 256>
/virtual-devices@100/channel-devices@200/disk@1
2. c0d2 <SUN-DiskSlice-504MB cyl 64 alt 2 hd 64 sec 256>
/virtual-devices@100/channel-devices@200/disk@2
3. c0d3 <SUN-DiskSlice-504MB cyl 64 alt 2 hd 64 sec 256>
/virtual-devices@100/channel-devices@200/disk@3
4. c0d4 <SUN-DiskSlice-504MB cyl 64 alt 2 hd 64 sec 256>
/virtual-devices@100/channel-devices@200/disk@4
5. c0d5 <SUN-DiskSlice-504MB cyl 64 alt 2 hd 64 sec 256>
/virtual-devices@100/channel-devices@200/disk@5
Specify disk (enter its number): 1
selecting c0d1
[disk formatted, no defect list found]

FORMAT MENU:
disk       – select a disk
type       – select (define) a disk type
partition  – select (define) a partition table
current    – describe the current disk
format     – format and analyze the disk
repair     – repair a defective sector
show       – translate a disk address
label      – write label to the disk
analyze    – surface analysis
defect     – defect list management
backup     – search for backup labels
verify     – read and display labels
save       – save new disk/partition definitions
volname    – set 8-character volume name
!<cmd>     – execute <cmd>, then return
quit
format> l
[0] SMI Label
[1] EFI Label
Specify Label type[0]:0 <-Enter

Advertisements
Categories: clusterware
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: