Check ASM disk status and fix problems

Fixing problem 1 – ASMLIB_DG is a DG which wasn’t completely deleted – all disks in CANDIDATE status

Check status:
grid@grac41 ~]$ asmcmd lsdg -g 
Inst_ID  State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
  2  MOUNTED  NORMAL  N         512   4096  1048576         0        0                0               0              0             N  ASMLIB_DG/
1  MOUNTED  NORMAL  N         512   4096  1048576     20472     4836                0            2418              0             N  DATA/
[oracle@grac41 ~]$ srvctl stop diskgroup -g ASMLIB_DG
[oracle@grac41 ~]$ srvctl remove diskgroup -g ASMLIB_DG
[oracle@grac41 ~]$ srvctl status  diskgroup -g ASMLIB_DG
PRCA-1000 : ASM Disk Group ASMLIB_DG does not exist
PRCR-1001 : Resource ora.ASMLIB_DG.dg does not exist

One thought on “Check ASM disk status and fix problems”

Leave a Reply

Your email address will not be published. Required fields are marked *