Subscribe
Highlighted
Accepted Solution

delete aggregate ONTAPP 9.1 fails because of MDV_aud

Need to delete the aggregate the shelf is to be re-used on a different system.

 

afsnetappcl::> aggregate delete afsnetapp01_SAS_aggr2
(storage aggregate delete)

Warning: Are you sure you want to destroy aggregate "afsnetapp01_SAS_aggr2"?
{y|n}: y

Error: command failed: Cannot delete an aggregate that has volumes. Delete or
move the volumes and retry the command.

afsnetappcl::>

 

afsnetappcl::>
afsnetappcl::> volume show -vserver afsnetappcl -volume * Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
afsnetappcl
MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d
afsnetapp01_SAS_aggr2
- RW - - -

 

afsnetappcl::> volume show -vserver afsnetappcl -volume MDV_aud*

Vserver Name: afsnetappcl
Volume Name: MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d
Aggregate Name: afsnetapp01_SAS_aggr2

 

afsnetappcl::> volume offline -volume MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d -vserver afsnetappcl

Error: command failed: This operation is not supported for the system volume
"MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d".

afsnetappcl::>

 

 

Re: delete aggregate ONTAPP 9.1 fails because of MDV_aud

Hi,

 

Hope this helps,http://community.netapp.com/t5/Data-ONTAP-Discussions/Delete-aggregate-in-CDOT/td-p/102909  

 

 

Thanks

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: delete aggregate ONTAPP 9.1 fails because of MDV_aud

First had to put the aggregate back on line.

Then off line the volume

third delete the volume

forth delete the aggregate, the issuse was in previous attempts the volume would not go off line, or delete.

Plus all the warning messeges, but since there were no other volumes on this aggregate, proceeded.

 

afsnetappcl::*> aggregate online afsnetapp01_SAS_aggr2

  (storage aggregate online)

 

Aggregate online successful on aggregate: afsnetapp01_SAS_aggr2

 

afsnetappcl::*> volume offline -vserver afsnetappcl -volume MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d -force

 

Warning: You are about to modify the system volume

         "MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d".  This may cause severe

         performance or stability problems.  Do not proceed unless directed to

         do so by support.  Do you want to proceed? {y|n}: y

 

Warning: Forcing the system volume "MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d"

         offline might impact MetroCluster, if configured, or other operations.

         Do you want to force this volume to be offline? {y|n}: y

 

Warning: Forcing offline volume MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d in

         Vserver afsnetappcl can potentially disrupt access to files in other

         volumes.

Do you want to continue? {y|n}: y

 

Volume "afsnetappcl:MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d" is now offline.

 

afsnetappcl::*> volume delete -vserver afsnetappcl -volume MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d -force

 

Warning: You are about to modify the system volume

         "MDV_aud_cdab8d64892448e2a52ebcbdfa5d957d".  This may cause severe

         performance or stability problems.  Do not proceed unless directed to

         do so by support.  Do you want to proceed? {y|n}: y

 

[Job 21764] Job succeeded: Successful

 

afsnetappcl::*>

 

afsnetappcl::*>

afsnetappcl::*> aggregate delete afsnetapp01_SAS_aggr2

  (storage aggregate delete)

 

Warning: Are you sure you want to destroy aggregate "afsnetapp01_SAS_aggr2"?

{y|n}: y

 

[Job 21765]

Job succeeded: DONE