Unable to rename aggregate on a MetroCluster
Applies to
- MetroCluster FC
- ONTAP 9.5P4
- Aggregate on both cluster sides not unique
- Switchover/Switchback
Issue
- Both cluster in a MetroCluster own aggregates with not unique names
- After switchover the surviving side (cluster2) owns all aggregates but renames the remote duplicate ones
- When trying to rename the aggregate you might see the error:
Error
: command failed: Specified aggregate resides on the remote cluster. Execute command from that cluster.
- After switchback the surviving side (cluster2) still shows outdated information with the renamed aggregate name
- Example:
aggr_01_renamed_20190916183817_1944209513
- Example:
- cluster1 shows correct (original) name
- Manually renaming still not possible
- The aggregate looks like this during switchover
Cluster02::> storage aggregate show -cluster * Cluster01: Aggregate Size Available Used% State #Vols Nodes RAID Status --------- -------- --------- ----- ------- ------ ---------------- ------------ aggr_cluster01_01_root - - - remote_cluster - - - aggr_cluster01_02_root - - - remote_cluster - - - aggr_01_renamed_20190916183817_1944209513 - - - remote_cluster Cluster02::> storage aggregate show-status -aggregate aggr_01_renamed_20190916183817_1944209513 There are no entries matching your query. cluster01::> storage aggregate show -cluster * cluster01: Aggregate Size Available Used% State #Vols Nodes RAID Status --------- -------- --------- ----- ------- ------ ---------------- ------------ aggr_cluster01_01_root 764.4GB 36.99GB 95% online 1 cluster01-01 raid_dp, mirrored, normal aggr_cluster01_02_root 764.4GB 37.00GB 95% online 1 cluster01-02 raid_dp, mirrored, normal aggr_01 <<< CORRECT NAME 50.77TB 17.40TB 66% online 36 cluster01-01 raid_dp, mirrored, normal cluster02: Aggregate Size Available Used% State #Vols Nodes RAID Status --------- -------- --------- ----- ------- ------ ---------------- ------------ aggr_cluster02_01_root - - - remote_cluster - - - aggr_cluster02_02_root - - - remote_cluster - - - aggr_ssd_02 - - - remote_cluster - - -