ORACLE RAC无db删除、创建、增加磁盘组
2019-06-19 本文已影响0人
Reiko士兵
一、删除
dismount磁盘组
alter diskgroup data01 dismount;
drop磁盘组
drop diskgroup data01 force including contents;
crs删除磁盘组
crsctl stat res -t #删除前查看资源状况
srvctl remove diskgroup -g data01
crsctl stat res -t #删除后查看资源状况
二、创建
查看os上磁盘信息
upadmin show vlun
lvmdiskscan
创建磁盘组
create diskgroup data01 normal redundancy failgroup FGA disk '/dev/asmdisks/sdc1' failgroup FGB disk '/dev/asmdisks/sdec1' ATTRIBUTE 'compatible.asm' = '11.2', 'compatible.rdbms' = '11.2','au_size'='4M';
三、增加
alter diskgroup data01 add failgroup FGA disk '/dev/asmdisks/sdbg1','/dev/asmdisks/sdbh1' failgroup FGB disk '/dev/asmdisks/sdgg1','/dev/asmdisks/sdgh1';