1.進入diag mode
NA-Cluster::> set diag
2.用disk show 確認舊的硬碟ID以及Aggr名稱,可以看到1.1.1 disk上還有之前的Aggr資訊
NA-Cluster::*> disk show
Usable Disk Container Container
Disk Size Shelf Bay Type Type Name Owner
---------------- ---------- ----- --- ------- ----------- --------- --------
1.0.21 3.63TB 0 21 FSAS spare Pool0 NA-Cluster-N1
1.0.22 3.63TB 0 22 FSAS spare Pool0 NA-Cluster-N1
1.0.23 3.63TB 0 23 FSAS spare Pool0 NA-Cluster-N1
1.1.0 3.63TB 1 0 FSAS spare Pool0 NA-Cluster-N1
1.1.1 3.63TB 1 1 FSAS aggregate node1_root(1)
NA-Cluster-N1
3.用storage aggregate remove-stale-record 清除舊的Aggr資訊
NA-Cluster::*> storage aggregate remove-stale-record -aggregate node1_root(1)
-nodename NA-Cluster-N1
-nodename NA-Cluster-N1
4.用 storage aggregate show-spare 確認1.1.1已變成spare disk
NA-Cluster::*> storage aggregate show-spare
Original Owner: NA-Cluster-N1
Pool0
Spare Pool
Usable Physical
Disk Type RPM Checksum Size Size Status
--------------------------- ----- ------ -------------- -------- -------- --------
1.0.21 FSAS 7200 block 3.63TB 3.64TB zeroed
1.0.22 FSAS 7200 block 3.63TB 3.64TB zeroed
1.0.23 FSAS 7200 block 3.63TB 3.64TB zeroed
1.1.0 FSAS 7200 block 3.63TB 3.64TB not zeroed
1.1.1 FSAS 7200 block 3.63TB 3.64TB not zeroed