Skip to main content

storage aggregate restrict

Restrict an aggregate

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

Description

The storage aggregate restrict command puts an aggregate in restricted state to make data in the aggregate's volumes unavailable to clients. When an aggregate is in restricted state data access is not allowed. However, few operations such as aggregate copy, parity recomputation, scrub and RAID reconstruction are allowed. You can also use this command if you want the aggregate to be the target of an aggregate copy or SnapMirror replication operation.

Parameters

-aggregate <aggregate name> - Aggregate
The name of the aggregate to be restricted.

Examples

The following example restricts an aggregate named aggr1:

cluster1::> storage aggregate restrict -aggregate aggr1

The following example restricts an aggregate named aggr2 by unmounting all the volumes within the aggregate:

cluster1::*> storage aggregate restrict -aggregate aggr2 -unmount-volumes true