Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Deleting Diskgroup Via Asmcmd

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

Home / ARTICLES  / ORACLE CLOUD  / SCRIPTS / About

Have a question? Ask or enter a search term.  SEARCH

Categories
 Deleting diskgroup via
asmcmd 50 ARTICLES

Autonomous Database
 / ORACLE RAC / Deleting diskgroup via asmcmd
11
BACKUP AND RECOVERY
July 27, 2017  Anuradha Mudgal ORACLE RAC
94
75 DATAGUARD

31 GOLDENGATE
I must thank my fellow DBA Franky Weber Faust for his
publication in his blog. 24 MongoDB

29 Multitenant
The goal here is to show that via asmcmd it is also possible to
34 ORA-ERRORS
remove a disk group. Let’s brie y see how to do this.
31 ORACLE 11G

We list the disk groups: 38 ORACLE 12C

66 ORACLE 12CR2
1 [oracle@london1 ~]$ asmcmd
2 ASMCMD> lsdg 45 Oracle 18c
3 State Type Rebal Sector Logical_Sector Block AU Total_MB Fr
4 MOUNTED EXTERN N 512 512 4096 4194304 40960 6900 0 6900 0 Y 18 Oracle 19c
5 MOUNTED EXTERN N 512 512 4096 4194304 12288 12156 0 12156 0
5 ORACLE APPS DBA
So we tried to delete the diskgroup:
39 ORACLE CLOUD

1 ASMCMD> dropdg DATA 124 ORACLE DATABASE


2 ORA-15039: diskgroup not dropped
3 ORA-15073: diskgroup DATA is mounted by another ASM instanc 38 ORACLE DBAAS

1 ORACLE HCM CLOUD


Note that the message refers to the diskgroup being mounted
on another instance. 114 ORACLE RAC

39 SCRIPTS

oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 1/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

Let’s then remotely dismount the diskgroup DATA that is also Oracle OCM 12C
mounted on node 2 of the cluster:

1 [oracle@london1 ~]$ srvctl stop diskgroup -diskgroup DATA -

Now it is mounted only on node 1:

1 [oracle@london1 ~]$ srvctl status diskgroup -diskgroup DATA


2 Disk Group DATA is running on london1 Oracle Database 12c
Administrat…
We nally managed to remove it: Issuer: Oracle
Provided by
Acclaim
1 ASMCMD> dropdg DATA

When listing the diskgroups the DATA is no longer present:

1  ASMCMD> lsdg
2 State Type Rebal Sector Logical_Sector Block AU Total_MB Fr
3 MOUNTED EXTERN N 512 512 4096 4194304 40960 6900 0 6900 0 Y
ORANA

OK, but it would appear the same if we had just unmounted the
diskgroup.

So let’s see if there is still a resource for the DATA diskgroup in Top 60 Oracle Blogs
the cluster:

1 [oracle@london1 ~]$ srvctl status diskgroup -diskgroup DATA


2 PRCA-1000 : ASM Disk Group DATA does not exist
3 PRCR-1001 : Resource ora.DATA.dg does not exist

1 [oracle@london1 ~]$ crsctl status resource ora.DATA.dg -t


2 CRS-2613: Could not find resource 'ora.DATA.dg'.

Note that for the diskgroup CONFIG there is a resource:

1 [oracle@london1 ~]$ srvctl status diskgroup -diskgroup CON


2 Disk Group CONFIG is running on london1,london2
3  
4 [oracle@london1 ~]$ crsctl status resource ora.CONFIG.dg -
5 ----------------------------------------------------------
6 Name Target State Server State details Latest Posts
7 ----------------------------------------------------------
8 Local Resources  Installing Oracle
9 ----------------------------------------------------------
10 ora.CONFIG.dg Database 19c with
11 ONLINE ONLINE london1 STABLE GitHub Repos
12 ONLINE ONLINE london2 STABLE
13 ----------------------------------------------------------
 OutOfMemoryError:Java
Heap Space on OEM
Share this: 12c Agent

oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 2/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

    Exchange Subpartition
in Oracle

Like this:  Exchange Partition of


*-List and *-Range
Like
Partition
Be the first to like this.
 Exchanging a Partition
of an Interval
Partitioned Table

Creating diskgroup Rename Empty How To Rename


via asmcmd Diskgroup on ASM ASM Diskgroup
July 24, 2017 11gR2 With RAC Database Archives
In "ORACLE 12CR2" August 21, 2017 October 28, 2017
In "ORACLE RAC" In "ARTICLES"  September 2019 (1)

 August 2019 (13)
Tagged: ASM asmcmd ORACLE 12C
 July 2019 (12)

 June 2019 (10)

About The Author  May 2019 (32)

 April 2019 (10)

Anuradha Mudgal  March 2019 (55)


I am exploring Oracle database technology from  February 2019 (26)
the past 4 yr. It is an Ocean of knowledge and
 January 2019 (3)
most interesting topic for R&D. Currently, I work
as a PMO- Executive at GlobalXperts. I was ex-  December 2018 (1)
employee on the position of Project  October 2018 (1)
Planner&Safety Executive at DelcomTelesystem.
 September 2018 (8)
Programmer(DBA) at silver touch technologies on
client site NIC ministry of statistics and  August 2018 (48)
programme implementation for six months. I had  July 2018 (67)
six months of experience with Atlanta systems Pvt.
 June 2018 (12)
Ltd as Oracle DBA - Analyst with clients of telecom
industries like Bharti Airtel, Idea, Reliance etc.  May 2018 (48)

 April 2018 (46)

 March 2018 (43)
Related Articles
 February 2018 (32)

 January 2018 (35)
 Oracleasm con gure fails with  Highly Available VIP (HAVIP)
 December 2017 (27)
selinux enable
 November 2017 (47)
oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 3/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

 Recovering OCR using physical  Evaluation and Prediction in  October 2017 (64)

backup Oracle RAC 12c  September 2017 (56)

 August 2017 (55)
 Manually Converting Non-RAC  Server Pools in Oracle RAC
 July 2017 (66)
DB to RAC DB
 June 2017 (7)

 May 2017 (8)

Leave a Reply  March 2017 (34)

 February 2017 (13)

Enter your comment here...

Translate

Select Language
Powered by Translate

Author

Anuradha

Mudgal

OCR create keys failed for


root with OCR error 27

Execution failed: Can’t


locate Env.pm in @INC
(Perl script (roothas.pl))

Arun Gupta

This site uses Akismet to reduce spam. Learn how your


comment data is processed. MUST_RENAME_THIS_DATAFILE
on RAC Standby

Oracle Gateway
Installation for MSSQL
Server on RHEL 7

Ashish

Harbhajanka

oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 4/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

Oracle HCM Cloud


Concepts – Part 1
(Colored E-Book)

Batmunkh

Moltov

Delete applied archivelog


script

Recover a data le from


copy

Jagruti

Jasleniya

Exchange Subpartition in
Oracle

Exchange Partition of *-
List and *-Range Partition

Kunjan Sureja

Scenario 1 – Recover a
Member of a Multiplexed
Online Redo Log Group

Catalog Database
Con gure

Mohit Sharma

Terminating an
Autonomous Transaction
Processing (ATP) Instance

Import Data Dump File


into Oracle Autonomous
Data Warehouse Cloud
(ADWC) Using Data Pump

Nitin Kashiv

oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 5/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

Cloud Computing How do


I Look

Shesadev

Biswal

OutOfMemoryError:Java
Heap Space on OEM 12c
Agent

Di erence Between Local


Listener and Remote
Listener

Skant Gupta

Installing Oracle Database


19c with GitHub Repos

Oracle Cloud Platform


Systems Management
2018 Associate (1Z0-930)

Skant Gupta

dbaascli listener start

dbaascli listener status

Vinay Magrania

ORA-12012 Oracle 12.2


(DBCA) Known Bug

MongoDB Pro ler

Blog Stats

967,276 hits

Tags Oracle Help Follow Us


oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 6/7
9/30/2019 Deleting diskgroup via asmcmd - ORACLE-HELP

19c adwc ASM ATP


OracleHelp
BACKUP backup 1,601
1,601 likes
likes

optimization Database
DATAGUARD DBAAS
dbaascli DBCA expdp GCS GES Like Page

Goldengate impdp Installation


multitenant New Features
Oracle ORACLE 11g
ORACLE 12.2
ORACLE 12C
Oracle12c ORACLE 12C2
ORACLE 12CR2
Oracle 18c Oracle 19c
ORACLE ASM ORACLE
CLOUD Oracle
Database Oracle
database 12cr2 Oracle database
19c ORACLE DBAAS
Oracle OEM ORACLE
RAC PDB RAC RECOVER
RECOVERY Restapi RMAN
scripts Upgrade Wait Event

ORACLE DBAAS / ORACLE CLOUD / ORACLE 12C / ORACLE 12CR2 / Privacy Policy

© Copyright, oracle-help.com

oracle-help.com/oracle-rac/deleting-diskgroup-via-asmcmd/ 7/7

You might also like