ORA-15040: diskgroup is incomplete
I received this error while I was trying to bring up cluster on the second in my 2-node cluster.
When I tried to start cluster, ora.asm resource was found in intermediate state.
[root@host02 ~]# crsctl start cluster CRS-5702: Resource 'ora.evmd' is already running on 'host02' CRS-2800: Cannot start resource 'ora.asm' as it is already in the INTERMEDIATE state on server 'host02' CRS-4000: Command Start failed, or completed with errors.
– Since asm was not up, OCR could not be read and hence cluster could not come up
[root@host02 ~]# crsctl stat res -t -init -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.asm 1 ONLINE INTERMEDIATE host02 OCR not started
– The alert log showed that DATA diskgroup could not be mounted.
2013-09-04 13:55:38.896
[/u01/app/11.2.0/grid/bin/oraagent.bin(28674)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at “(:CLSN00100:)” in “/u01/app/11.2.0/grid/log/host02/agent/ohasd/oraagent_grid/oraagent_grid.log”.
[/u01/app/11.2.0/grid/bin/oraagent.bin(28674)]CRS-5019:All OCR locations are on ASM disk groups [DATA], and none of these disk groups are mounted. Details are at “(:CLSN00100:)” in “/u01/app/11.2.0/grid/log/host02/agent/ohasd/oraagent_grid/oraagent_grid.log”.
– I tried to mount DATA diskgroup using SQL but I got ORA-15040 which indicated that disk “0” could not be read
SQL> alter diskgroup data mount;
alter diskgroup data mount
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "0" is missing from group number "1"
– When I listed ASM disks on second node, ASMDISK01 was not listed
[root@host02 bin]# oracleasm listdisks ASMDISK010 ASMDISK011 ASMDISK012 ASMDISK013 ASMDISK014 ASMDISK02 ASMDISK03 ASMDISK04 ASMDISK05 ASMDISK06 ASMDISK07 ASMDISK08 ASMDISK09
– I issued oracleasm scandisks which led to discovery of ASMDISK01
[root@host02 bin]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "ASMDISK01"
– Now when I issued oracleasm listdisks, ASMDISK01 was also listed.
[root@host02 bin]# oracleasm listdisks
ASMDISK01
ASMDISK010
ASMDISK011
ASMDISK012
ASMDISK013
ASMDISK014
ASMDISK02
ASMDISK03
ASMDISK04
ASMDISK05
ASMDISK06
ASMDISK07
ASMDISK08
ASMDISK09
— Now I could mount DATA diskgroup successfully
SQL> alter diskgroup data mount;
Diskgroup altered.
Reference:http://oracleinaction.com/ora-15040/
No comments:
Post a Comment