Skip to main content
NetApp Knowledge Base

Cannot remove foreign aggregates

Views:
5,432
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • Foreign aggregate 

Issue

  • Nodes unjoined from a cluster, wiped, then joined back to the cluster
  • Their foreign aggregates are in a stale state (no import nor destroy possibility)
  • Cannot remove foreign aggregates to free disks and operate the shelves (Change IDs, re-create new aggregates etc.):
::*> aggr remove-stale-record -aggregate aggr_2 -nodename cluster01-04
Error: command failed: Failed to delete aggregate "aggr_2". Reason: Aggregate 'aggr_2' cannot be destroyed because it is online. You will need to take it offline before destroying it.
 
::*> aggr offline -aggregate aggr_2 -force-offline
Error: command failed: Failed to check if aggr_2 is a foreign(unknown) aggregate. Reason: entry doesn't exist.
  • Disks are still assigned:
::> disk show -nodelist cluster01-04 -fields owner,aggregate
disk owner aggregate
--------- --------------- -----------
Info: This cluster has partitioned disks. To get a complete list of spare disk capacity use "storage aggregate show-spare-disks".
      This cluster has storage pools. To view available capacity in the storage pools use "storage pool show-available-capacity".
3.60.0.1 cluster01-04 aggr_2
3.60.0.2 cluster01-04 aggr_2
...

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.