How To Drop and Recreate ASM Diskgroup
Last updated on JANUARY 06, 2018
Applies to:Oracle Database - Standard Edition - Version 10.2.0.2 to 22.214.171.124 [Release 10.2 to 11.2]
Oracle Database - Enterprise Edition - Version 10.2.0.2 to 126.96.36.199 [Release 10.2 to 11.2]
Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 12.1]
Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 12.1]
Information in this document applies to any platform.
***Checked for relevance on 27-Feb-2011***
This article describe how we can drop and recreate ASM diskgroup when its not possible to perform this through SQL command.
When a member disk in external redundancy diskgroup is no longer present (or destroyed beyond repair) and you want to drop the diskgroup completely and recreate it or add the disks of the diskgroup to other diskgroups. The diskgroup can not be mounted, because one of the disks is missing, hence the "drop diskgroup" command will not work.
In 10g you can use a workaround by erasing the header of the disk using the dd command.
In 11g, the diskgroup can be dropped when its dismounted with FORCE option especially for normal and high redundancy diskgroups:
Administering ASM Disk Groups
Dropping Disk Groups
Erasing the header using "dd" command is very dangerous operation and need to be done under support supervision and when it confirmed by support that fixing the header is impossible.
In all cases and before the erasing operation you should gather the following information:
1. alert.log file from all ASM instances going back to last successful mount for diskgroup.
2. OS logs.
3. Backup disk header for all member disks in diskgroup:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms