虚拟化做的rac,发现原来加盘直接把sdb、sdc、sdd、sde加到asm里了,后面通过udev绑定的盘,增加到asm里就报错:
[DBT-30007]Addition of disks to disk group DATA failed
ORA-15032:not all alterations performed
0RA-15333: diek is not visible on client instance
或者:
SQL> alter diskgroup DATA add disk '/dev/asm-diskj';
alter diskgroup DATA add disk"/dev/asm-diskj';
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15075: disk /dev/asm-diskj is not visible on instance number 2
SOL>
检查发现通过udev生成的sdf的连接asm_diskf磁盘都显出来了:
通过修改asm_diskstring不要把新加的sdf、sdg、sdh、sdi显示出来,asm_diskstring设置为“/dev/sd[b-e],/dev/mapper/asm*”,再次添加磁盘成功。