- 论坛徽章:
- 0
|
最近一2节点的ORACLE 11g 集群,节点1因为主机硬盘损坏,重装了os,与节点2是相同配置,RedHat Linux 5.5 + ORACLE 11.2.0.3.
安装cvuqdisk-1.0.9.rpm包,做好 ip,ssh,ntp,dns,multipath,oracleasm 等相关配置,
在节点2清除了有关节点1的集群信息,执行addNode.sh 后,
在节点1侧以root身份执行root.sh后报错,如下:
[root@db1 grid]#./root.sh
... ...
2015-03-10 12:58:24: Executing cmd: /bin/su grid -c "/u01/11.2/grid/bin/asmca -silent -diskGroupName CRS -diskList 'ORCL:CRS_DISK01,ORCL:CRS_DISK02' -redundancy EXTERNAL -configureLocalASM -au_size 1"
2015-03-10 12:58:32: Command output:
>
> Disk Group CRS creation failed with the following message:
> ORA-15018: diskgroup cannot be created
> ORA-15031: disk specification 'ORCL:CRS_DISK02' matches no disks
> ORA-15031: disk specification 'ORCL:CRS_DISK01' matches no disks
>
>
>End Command output
节点1侧 几次执行
./rootcrs.pl -deconfig -force
后,再执行./root.sh 都是报相同的错。
哪位同事 给个 解决问题的思路和方向呢,谢谢!
一下是对节点1的存储的检查:
[grid@db1 ~]$ cd /dev/oracleasm/disks
[grid@db1 disks]$ ls -l
total 0
brw-rw---- 1 grid asmadmin 253, 0 Mar 10 10:16 CRS_DISK01
brw-rw---- 1 grid asmadmin 253, 1 Mar 10 10:16 CRS_DISK02
brw-rw---- 1 grid asmadmin 253, 2 Mar 10 10:16 DATA_DISK01
[grid@db1 disks]$ kfed read /dev/oracleasm/disks/CRS_DISK01
kfbh.endian: 1 ; 0x000: 0x01
kfbh.hard: 130 ; 0x001: 0x82
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 0 ; 0x004: blk=0
kfbh.block.obj: 2147483648 ; 0x008: disk=0
kfbh.check: 1867658697 ; 0x00c: 0x6f5235c9
kfbh.fcn.base: 0 ; 0x010: 0x00000000
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
kfdhdb.driver.provstr:ORCLDISKCRS_DISK01 ; 0x000: length=18
kfdhdb.driver.reserved[0]: 1599296067 ; 0x008: 0x5f535243
kfdhdb.driver.reserved[1]: 1263749444 ; 0x00c: 0x4b534944
kfdhdb.driver.reserved[2]: 12592 ; 0x010: 0x00003130
[grid@db1 disks]$ kfod
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
+ASM1 /u01/11.2/grid
[grid@db1 disks]$ kfod asm_diskstring='/dev/oracleasm/disks/*'
--------------------------------------------------------------------------------
Disk Size Path User Group
================================================================================
1: 1024 Mb /dev/oracleasm/disks/CRS_DISK01 grid asmadmin
2: 1024 Mb /dev/oracleasm/disks/CRS_DISK02 grid asmadmin
3: 1024000 Mb /dev/oracleasm/disks/DATA_DISK01 grid asmadmin
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
+ASM1 /u01/11.2/grid |
|