Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

List ASM disks (using ASM Filter driver)

Peasant81Feb 1 2023 — edited Feb 1 2023

Grid infrastructure version: 19.11

In my shop, we use ASM filter driver.

I just want to see the Total size and Free space left in all ASM disks, preferably in GBs.

In the below example, I am trying to view info about the disks in +DATA diskgroup.
As shown below, asmcmd lsdsk -k -G DATA gives too much irrelevant info and asmcmd lsdsk -g -G DATA very less info.

Any way to make the output more readable ?

grid@mshprod184:~ $ asmcmd lsdsk -k -G DATA
Total_MB  Free_MB    OS_MB  Name     Failgroup  Site_Name  Site_GUID                         Site_Status  Failgroup_Type  Library                                      Label    Failgroup_Label  Site_Label  UDID  Product  Redund   Path
 1048576   674828  1048576  ASMD003  ASMD003               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD003                                              UNKNOWN  AFD:ASMD003
 1048576   674848  1048576  ASMD004  ASMD004               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD004                                              UNKNOWN  AFD:ASMD004
 1048576   674832  1048576  ASMD006  ASMD006               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD006                                              UNKNOWN  AFD:ASMD006
 1048576   674824  1048576  ASMD007  ASMD007               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD007                                              UNKNOWN  AFD:ASMD007
 1048576   674824  1048576  ASMD008  ASMD008               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD008                                              UNKNOWN  AFD:ASMD008
 1048576   674832  1048576  ASMD009  ASMD009               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD009                                              UNKNOWN  AFD:ASMD009
 1048576   674836  1048576  ASMD010  ASMD010               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD010                                              UNKNOWN  AFD:ASMD010
 1048576   674824  1048576  ASMD011  ASMD011               00000000000000000000000000000000               REGULAR         AFD Library - Generic , version 3 (KABI_V3)  ASMD011                                              UNKNOWN  AFD:ASMD011
grid@mshprod184:~ $
grid@mshprod184:~ $
grid@mshprod184:~ $
grid@mshprod184:~ $ asmcmd lsdsk -g -G DATA
Inst_ID  Path
      2  AFD:ASMD003
      1  AFD:ASMD003
      2  AFD:ASMD004
      1  AFD:ASMD004
      2  AFD:ASMD006
      1  AFD:ASMD006
      2  AFD:ASMD007
      1  AFD:ASMD007
      2  AFD:ASMD008
      1  AFD:ASMD008
      2  AFD:ASMD009
      1  AFD:ASMD009
      2  AFD:ASMD010
      1  AFD:ASMD010
      2  AFD:ASMD011
      1  AFD:ASMD011
grid@mshprod184:~ $

PS: So, now there are no dedicated forums for RAC, ASM, RMAN, Dataguard, etc ?

Comments
Post Details
Added on Feb 1 2023
4 comments
311 views