- ONTAP 9
- Foreign aggregate
- 2 nodes have been removed from a 4 nodes cluster, then the nodes have been wiped-out and finally they have been joined again 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".
220.127.116.11 cluster01-04 aggr_2
18.104.22.168 cluster01-04 aggr_2
22.214.171.124 cluster01-04 aggr_2