Oracle ORA-15066从一个节点添加到ASM 的磁盘在其他节点中找不到

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:[email protected]

 

 

适用于:

Oracle Database – Enterprise Edition – 版本10.1.0.5 及以上
本文信息适用于任何平台。

症状

使用RAC ASM。在其中一个节点,新设备被顺利添加到磁盘组。
但糟糕的是,在其他节点该磁盘不可见且尝试启动实例失败,生成以下错误:
ORA-15042: ASM disk “19” is missing
ORA-15042: ASM disk “18” is missing
The ownership and permissions on the disks are given correctly and the nodes can be seen in /dev, but kfod does not report the new disks that have been added – equally they cannot be seen in v$asm_disk. 磁盘上的所有权和权限正确给出,节点可以在/ dev目录中看到,但kfod不报告新磁盘已被添加同样地,他们不能在V $ ASM_DISK可以看出。

truss the kfod utility as follows

truss -aefo kfod.txt kfod disks=all


结果类似如下:

561196: access(“/dev/rhdiskpower19”, 06) = 0
561196: statx(“/dev/rhdiskpower19”, 0x0FFFFFFFFFFFD320, 176, 010) = 0
561196: open(“/dev/rhdiskpower19”, O_RDONLY|O_LARGEFILE) Err#16 EBUSY
561196: open(“/dev/rhdiskpower19”, O_RDONLY|O_LARGEFILE) Err#16 EBUSY


对于所有有问题的磁盘

原因

磁盘已经被第一个节点专门获取。

解决方案

要实施解决方案,请执行以下步骤:

OS 和硬件供应商确认来设置磁盘属性,使其共享。详情是对于特定硬件和OS
Eg, with EMC:

lsattr -El hdiskpower19 | grep reserve_lock

会返回:
reserve_lock yes Reserve device on open True

磁盘的状态应被更改为 reserve_lock=no:

chdev -l <hdiskpower?> -a reserve_lock=no

参考

NOTE:399500.1 – ORA-15040, ORA-15066, ORA-15042 when ASM disk is not present in all nodes of a Rac Cluster. Adding a disk to the Diskgroup fails.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *