volume restrict
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Restrict an existing volume
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The volume restrict
command puts the volume in restricted state. If the volume is online, then it will be made unavailable for data access as described under volume offline .
Parameters
-vserver <vserver name>
- Vserver Name-
This specifies the name of the Vserver from which the volume is to be restricted. If only one data Vserver exists, you do not need to specify this parameter.
-volume <volume name>
- Volume Name-
This specifies the name of the volume that is to be restricted.
[-foreground {true|false}]
- Foreground Process-
This specifies whether the operation runs in the foreground. The default setting is
true
(the operation runs in the foreground). When set to true, the command will not return until the operation completes. This parameter applies only to FlexGroups. For FlexVol volumes, the command always runs in the foreground.
Examples
The following example restricts a volume named vol1:
cluster1::> volume restrict vol1 Volume 'vs1:vol1' is now restricted.