无法删除外部聚合
适用场景
- ONTAP 9
- 外部聚合
问题描述
- 节点从集群中退出,擦除,然后重新加入集群
- 其外部聚合处于陈旧状态(不可能导入或销毁)
- 无法删除外部聚合以释放磁盘并操作磁盘架(更改 ID ,重新创建新聚合等):
::*> 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.
- 磁盘仍会分配:
::> 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
...