In some circumstances after switchback, you might notice the presence of stale aggregates . Stale aggregates are aggregates that have been removed from Data ONTAP, but whose information remains recorded on disk. Stale aggregates are displayed in the nodeshell aggr status -r command but not in the storage aggregate show command. You can delete these records so that they no longer appear.
About this task
Stale aggregates can occur if you relocated aggregates while the MetroCluster configuration was in switchover. For example:
- Site A switches over to Site B.
- You delete the mirroring for an aggregate and relocate the aggregate from node_B_1 to node_B_2 for load balancing.
- You perform aggregate healing.
At this point a stale aggregate appears on node_B_1, even though the actual aggregate has been deleted from that node. This aggregate appears in the output from the nodeshell aggr status -r command. It does not appear in the output of the storage aggregate show command.
Steps
- Compare the output of the output of the storage aggregate show command and the nodeshell aggr status -r command: storage aggregate showrun local aggr status -r
Stale aggregates appear in the
run local aggr status -r output but not in the
storage aggregate show output. For example, the following aggregate might appear in the
run local aggr status -r output:
Aggregate aggr05 (failed, raid_dp, partial) (block checksums)
Plex /aggr05/plex0 (offline, failed, inactive)
RAID group /myaggr/plex0/rg0 (partial, block checksums)
RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity FAILED N/A 82/ -
parity 0b.5 0b - - SA:A 0 VMDISK N/A 82/169472 88/182040
data FAILED N/A 82/ -
data FAILED N/A 82/ -
data FAILED N/A 82/ -
data FAILED N/A 82/ -
data FAILED N/A 82/ -
data FAILED N/A 82/ -
Raid group is missing 7 disks.
- Remove the stale aggregate:
- From either node's prompt, change to the advanced privilege level: set -privilege advanced
You need to respond with y when prompted to continue into advanced mode and see the advanced mode prompt (*>).
- Remove the stale aggregate: aggregate remove-stale-record
-aggregate aggregate_name
- Return to the admin privilege level: set -privilege admin
- Confirm that the stale aggregate record was removed: run local aggr status -r