4 Replies Latest reply: Feb 28, 2013 12:38 PM by jm.marin RSS

    run root.sh failed (create Diskgroup failed)2011-05-18 07:31:03.088: [ OCRC

    862343
      i install grid for two node,when i finished installation,i run root.sh,and from the output of root.sh ,i find can not create asm diskgroup,and following is info:


      DiskGroup MyDG creation failed with the following message:
      ORA-15018: diskgroup cannot be created
      ORA-15031: disk specification '/dev/oracleasm/disks/DISK3' matches no disks
      ORA-15014: path '/dev/oracleasm/disks/DISK3' is not in the discovery set
      ORA-15031: disk specification '/dev/oracleasm/disks/DISK2' matches no disks
      ORA-15014: path '/dev/oracleasm/disks/DISK2' is not in the discovery set
      ORA-15031: disk specification '/dev/oracleasm/disks/DISK1' matches no disks
      ORA-15014: path '/dev/oracleasm/disks/DISK1' is not in the discovery set


      Configuration of ASM failed, see logs for details
      Did not succssfully configure and start ASM
      CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
      CRS-4000: Command Stop failed, or completed with errors.
      Command return code of 1 (256) from command: /opt/oracle/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
      Stop of resource "ora.crsd -init" failed
      Failed to stop CRSD
      ================

      and here is my infor about ASM in my response file

      oracle.install.asm.diskGroup.name=MyDG
      oracle.install.asm.diskGroup.redundancy=NORMAL
      oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/DISK1,/dev/oracleasm/disks/DISK2,/dev/oracleasm/disks/DISK3
      oracle.install.asm.diskGroup.diskDiscoveryString=ORCL:*

      ===============

      here is my ASM config use ASMLib

      oracleasm createdisk DISK1 /dev/sde1
      oracleasm createdisk DISK2 /dev/sdf1
      oracleasm createdisk DISK3 /dev/sdg1

      [grid@rac2-pub grid]$ ls -l /dev/oracleasm/disks/DISK*
      brw-rw---- 1 grid oinstall 8, 65 May 18 06:59 /dev/oracleasm/disks/DISK1
      brw-rw---- 1 grid oinstall 8, 81 May 18 06:59 /dev/oracleasm/disks/DISK2
      brw-rw---- 1 grid oinstall 8, 97 May 18 06:59 /dev/oracleasm/disks/DISK3

      [root@rac1-pub grid]# ls -l /dev/oracleasm/disks/DISK*
      brw-rw---- 1 grid oinstall 8, 65 May 18 06:54 /dev/oracleasm/disks/DISK1
      brw-rw---- 1 grid oinstall 8, 81 May 18 06:54 /dev/oracleasm/disks/DISK2
      brw-rw---- 1 grid oinstall 8, 97 May 18 06:54 /dev/oracleasm/disks/DISK3

      [grid@rac2-pub grid]$ ls -l /dev/sd{e,f,g}1
      brw-r----- 1 root disk 8, 65 May 18 06:59 /dev/sde1
      brw-r----- 1 root disk 8, 81 May 18 06:59 /dev/sdf1
      brw-r----- 1 root disk 8, 97 May 18 06:59 /dev/sdg1

      [root@rac1-pub grid]# ls -l /dev/sd{e,f,g}1
      brw-r----- 1 root disk 8, 65 May 18 06:54 /dev/sde1
      brw-r----- 1 root disk 8, 81 May 18 06:54 /dev/sdf1
      brw-r----- 1 root disk 8, 97 May 18 06:54 /dev/sdg1

      ==============

      info from log

      2011-05-18 07:31:03.088: [ OCRCONF][3046364864]Upgrading OCR data
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 0
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 1
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 2
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 3
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 4
      2011-05-18 07:31:03.119: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1e000 buflen 4096 retval 0 phy_offset 102400 retry 5
      2011-05-18 07:31:03.119: [  OCRRAW][3046364864]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
      2011-05-18 07:31:03.119: [  OCRRAW][3046364864]proprioini: all disks are not OCR/OLR formatted
      2011-05-18 07:31:03.119: [  OCRRAW][3046364864]proprinit: Could not open raw device
      2011-05-18 07:31:03.119: [ default][3046364864]a_init:7!: Backend init unsuccessful : [26]
      2011-05-18 07:31:03.128: [ OCRCONF][3046364864]Exporting OCR data to [OCRUPGRADEFILE]
      2011-05-18 07:31:03.130: [  OCRAPI][3046364864]a_init:7!: Backend init unsuccessful : [33]
      2011-05-18 07:31:03.131: [ OCRCONF][3046364864]There was no previous version of OCR. error:[PROCL-33: Oracle Local Registry is not configured]
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 0
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 1
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 2
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 3
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 4
      2011-05-18 07:31:03.132: [  OCROSD][3046364864]utread:3: Problem reading buffer 9e1f000 buflen 4096 retval 0 phy_offset 102400 retry 5

      and more

      <msg time='2011-05-18T07:34:24.296+08:00' org_id='oracle' comp_id='asm'
      client_id='' type='UNKNOWN' level='16'
      host_id='rac1-pub' host_addr='192.168.76.161' module='sqlplus@rac1-pub (TNS V1-V3)'
      pid='11249'>
      <txt>Diskgroup used for OCR is:MYDG
      </txt>
      </msg>
      <msg time='2011-05-18T07:34:24.516+08:00' org_id='oracle' comp_id='asm'
      client_id='' type='UNKNOWN' level='16'
      host_id='rac1-pub' host_addr='192.168.76.161' module='sqlplus@rac1-pub (TNS V1-V3)'
      pid='11249'>
      <txt>NOTE: cache registered group MYDG number=1 incarn=0x665bd7ac
      </txt>
      </msg>
      <msg time='2011-05-18T07:34:24.517+08:00' org_id='oracle' comp_id='asm'
      client_id='' type='UNKNOWN' level='16'
      host_id='rac1-pub' host_addr='192.168.76.161' module='sqlplus@rac1-pub (TNS V1-V3)'
      pid='11249'>
      <txt>NOTE: cache began mount (first) of group MYDG number=1 incarn=0x665bd7ac
      </txt>
      </msg>
      <msg time='2011-05-18T07:34:26.022+08:00' org_id='oracle' comp_id='asm'
      client_id='' type='UNKNOWN' level='16'
      host_id='rac1-pub' host_addr='192.168.76.161' module=''
      pid='11229'>
      <txt>NOTE: Loaded library: /opt/oracle/extapi/32/asm/orcl/1/libasm.so
      </txt>
      </msg>
      <msg time='2011-05-18T07:34:26.240+08:00' org_id='oracle' comp_id='asm'
      client_id='' type='UNKNOWN' level='16'
      host_id='rac1-pub' host_addr='192.168.76.161' module=''
      pid='11231'>
      <txt>ERROR: no PST quorum in group: required 2, found 0
      </txt>
      </msg>



      i do not know why,any one can help?

      Edited by: 859340 on 2011-5-17 下午7:35

      Edited by: 859340 on 2011-5-17 下午7:56