0% found this document useful (0 votes)
374 views

How To Check Free Space in ASM

1. To check free space in ASM, connect to the ASM instance and query the V$ASM_DISKGROUP view which shows the total and free space in megabytes for each disk group. 2. As an alternative, use Grid Control to access the ASM instance administration page after providing the password, which also displays disk group space usage. 3. The ASMCMD tool can also be used to check disk space after setting the ORACLE environment variables, with commands like "du" showing used and mirror used space or "lsdg" listing details of each disk group like total, free, and usable space.

Uploaded by

jabras_guppies
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
374 views

How To Check Free Space in ASM

1. To check free space in ASM, connect to the ASM instance and query the V$ASM_DISKGROUP view which shows the total and free space in megabytes for each disk group. 2. As an alternative, use Grid Control to access the ASM instance administration page after providing the password, which also displays disk group space usage. 3. The ASMCMD tool can also be used to check disk space after setting the ORACLE environment variables, with commands like "du" showing used and mirror used space or "lsdg" listing details of each disk group like total, free, and usable space.

Uploaded by

jabras_guppies
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

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
SELECT name, type, ceil (total_mb/1024) TOTAL_GB , ceil (free_mb/1024) FREE_GB,
required_mirror_free_mb,
ceil ((usable_file_mb)/1024) FROM V$ASM_DISKGROUP;
NAME TYPE TOTAL_GB FREE_GB REQUIRED_MIRROR_FREE_MB CEIL((USABLE_FILE_MB)/1024)
ORACLE_DATA1 EXTERN
ORACLE_FLASH1 EXTERN
ORACLE_FLASH2 EXTERN

466 236
131 124
10 9 0 9

0
0

236
124

2. Using Grid Control


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

3. Using ASMCMD tool


Make sure to setup ORACLE_SID and ORACLE_HOME environment variables to ASM insta
nce.
-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_f
ile_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/

You might also like