Destroying a Snapshot (CLI)
Use the following procedure to destroy a snapshot.
Before You Begin
-
To complete this procedure, you must have Super-User privileges or one of the following role authorizations within the projects and shares scope:
-
destroySnap
- Allows users to only destroy snapshots. -
destroy
- Grants privileges to remove projects and shares, including snapshots.
-
-
To add authorizations to a role, see Editing Authorizations for a Role (CLI).
-
Before a manual snapshot with a retention hold can be destroyed, the hold type must be
off
. To modify a manual snapshot fromunlocked
tooff
, see Editing a Snapshot Retention Policy (CLI).To use the snapshot retention hold feature, apply deferred update "Support for Snapshot Retention." For information about deferred updates, see Deferred Updates in Oracle ZFS Storage Appliance Customer Service Manual, Release OS8.8.x.
Related Topics