获取磁盘变化:/etc/init.d/oracleasm scandisks
查看asm磁盘:/etc/init.d/oracleasm listdisks
加载磁盘组
alter diskgroup dgroup1 mount;
卸载磁盘组
alter diskgroup dgroup1 dismount;
创建磁盘组
create diskgroup dgroup1 normal redundancy
failgroup fgroup1 disk ORCL:VOL1','CL:VOL2'
failgroup fgroup1 disk 'ORCL:VOL3','CL:VOL4';
删除磁盘组
drop diskgroup dgroup1
向磁盘组中加磁盘
alter diskgroup DATA add disk 'ORCL:VOL4';
获取磁盘信息
select path,group_number, disk_number,mount_status,header_status,mode_status,state from v$asm_disk;
select name, total_mb, free_mb from v$asm_disk_stat;
select * from v$asm_operation;
select * from v$asm_operation;