How to check free space in ASM

1. Connect to asm instance:

select name, state, total_mb, free_mb from v$asm_diskgroup;

NAME STATE TOTAL_MB FREE_MB
—————————— ———– ———- ———-
ORADATA MOUNTED 65536 53439

2. Using Grid Control

Go to asm host and select asm instance. Go Administration tab and input asm administration password:

3. Using ASMCMD tool

Please make sure to setup ORACLE_SID and ORACLE_HOME environment variables to ASM instance.

-bash-3.2$ asmcmd -p
ASMCMD [+] > du
Used_MB Mirror_used_MB
12011 12011
ASMCMD [+] >

or run

lsdg command

State    Type    Rebal  Unbal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Name
MOUNTED  EXTERN  N      N        1024   4096  1048576     40960    37628                0           37628              0  ORADATA/
MOUNTED  EXTERN  N      N        1024   4096  1048576     32768    32675                0           32675              0  ORADATA1/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s