Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Destroying aggregates

About destroying aggregates  Top

When you destroy an aggregate, Data ONTAP converts its parity disk and all its data disks back into hot spares. You can then use the spares in other aggregates and other storage systems. Before you can destroy an aggregate, you must destroy all of the FlexVol volumes contained by that aggregate.

There are two reasons to destroy an aggregate:

Destroying an aggregate  Top

To destroy an aggregate, complete the following steps.

Step

Action

1

Take all FlexVol volumes offline and destroy them by entering the following commands for each volume:

vol offline vol_name
vol destroy vol_name
2

Take the aggregate offline by entering the following command:

aggr offline aggr_name 

aggr_name is the name of the aggregate that you intend to destroy.

Example

system> aggr offline aggr_A

Result

The following message is displayed.

Aggregate 'aggr_A' is now offline.
3

Destroy the aggregate by entering the following command:

aggr destroy aggr_name 

aggr_name is the name of the aggregate that you are destroying and whose disks will be converted to hot spares.

Example

system> aggr destroy aggr_A

Result

The following message is displayed.

Are you sure you want to destroy this aggregate ?

After typing y, the following message is displayed.

Aggregate 'aggr_A' destroyed.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments