volume snapshot delete
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Delete a snapshot
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The volume snapshot delete
command deletes a Snapshot copy from a specified volume.
Parameters
-vserver <vserver name>
- Vserver-
This specifies the Vserver that contains the volume on which the specified Snapshot copy is saved.
-volume <volume name>
- Volume-
This specifies the volume from which a Snapshot copy is to be deleted.
-snapshot <snapshot name>
- Snapshot-
This specifies the Snapshot copy that is to be deleted.
[-foreground {true|false}]
- Foreground Process-
If you use this option and set it to
false
, the delete operation runs as a background process. If you specify this option and set it totrue
, the operation runs as a foreground process. The default istrue
. [-force <true>]
- Force Delete (privilege: advanced)-
If you use this switch, the Snapshot copy is immediately deleted without generating any confirmation messages. If you do not use this option the operation generates confirmation messages and the operation is disallowed on application tagged volumes. Passing in a value of
true
is supported, but not required. Theforce
switch is typically used for scripting applications where users cannot directly confirm the delete operation. [-ignore-owners <true>]
- Ignore Snapshot Owners (privilege: advanced)-
If you use this switch, the command ignores other processes that might be accessing the Snapshot copy. If you do not use this option the operation exhibits default behavior and checks the owners tags before allowing the deletion to occur. Passing in a value of
true
is supported, but not required.
Examples
The following example deletes a Snapshot copy named vol3_daily from a volume named vol3 on a Vserver named vs0:
cluster1::> volume snapshot delete -vserver vs0 -volume vol3 -snapshot vol3_daily