Professional Documents
Culture Documents
su - oracle
.grid_env
$asmca
prompt
prompt ASM Disk Groups
prompt ===============
------------------------------------------------------
ASM - Disk in Use
-----------------------------------------------
------------------------------------------------------
ASM - File Types in Diskgroups
-----------------------------------------------
------------------------------------------------------
ASM - Instances currently accessing these diskgroups
------------------------------------------------------
prompt Instances currently accessing these diskgroups
prompt ==============================================
col "Instance" form a8
select c.group_number "Group"
, g.name "Group Name"
, c.instance_name "Instance"
from v$asm_client c
, v$asm_diskgroup g
where g.group_number=c.group_number
/
------------------------------------------------------
ASM - Assigned ASM disks and their paths
------------------------------------------------------
------------------------------------------------------
ASM - ASM disks and their paths
------------------------------------------------------
------------------------------------------------------
ASM - Current ASM disk operations - rebalancing - add/remove disk
------------------------------------------------------
Creating Diskgroup
------------------
sql>CREATE DISKGROUP fra EXTERNAL REDUNDANCY DISK 'ORCL:DISK2';
SQL> DROP DISKGROUP FRA INCLUDING CONTENTS;
Add Disk 2
-----------
sql>ALTER DISKGROUP DATA ADD DISK 'ORCL:DISK3';
sql>select * from v$asm_operation; (on another terminal - monitor)