Skip to main content

storage aggregate delete

Contributors
Suggest changes

Delete an aggregate

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage aggregate delete command deletes a storage aggregate. The command fails if there are volumes present on the aggregate. If the aggregate has an object store attached to it, then in addition to deleting the aggregate the command deletes the objects in the object store as well. No changes are made to the object store configuraton as part of this command.

Parameters

-aggregate <aggregate name> - Aggregate

This parameter specifies the aggregate that is to be deleted.

[-preserve-config-data <true>] - Delete Physical Aggregate but Preserve Configuration Data (privilege: advanced)

Deletes the physical aggregate, but preserves the aggregate configuration data. The aggregate must not have any disks associated with it. If the parameter -preserve-config-data is specified without a value, the default value is true ; if this parameter is not specified, the default value is false .

Examples

The following example deletes an aggregate named aggr1:

cluster1::> storage aggregate delete -aggregate aggr1