BIDB ASM添加磁盘记录
使用 conn /as sysdba
SQL> alter diskgroup DG_DATA add disk '/dev/sdf';
alter diskgroup DG_DATA add disk '/dev/sdf'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group
使用 conn / as sysasm后正常
SQL> alter diskgroup DG_DATA add disk '/dev/sdf';
alter diskgroup DG_DATA add disk '/dev/sdf'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15031: disk specification '/dev/sdf' matches no disks
ORA-15014: path '/dev/sdf' is not in the discovery set
更改 ASM_DISKSTRING参数:
alter system set asm_diskstring='/dev/diskgroup/','/dev/s*';
alter diskgroup DG_DATA add disk '/dev/sdf';
成功
继续添加磁盘时,提示异常:
SQL> alter diskgroup DG_DATA add disk '/dev/sdg';
alter diskgroup DG_DATA add disk '/dev/sdg'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15075: disk(s) are not visible cluster-wide
该提示在于未在所有节点同时设置 /dev/sdg 的权限,在第二个节点chown后add成功
可参考:http://blog.youkuaiyun.com/xiangsir/article/details/8670967
SQL> alter diskgroup DG_DATA add disk '/dev/sdk' rebalance power 6;
Diskgroup altered.
本文详细介绍了在Oracle ASM中添加磁盘到指定磁盘组的过程及遇到的问题解决办法。包括了使用不同角色连接进行操作的区别、调整ASM_DISKSTRING参数、处理跨节点权限问题等关键步骤。
606

被折叠的 条评论
为什么被折叠?



