Destroying A Snapshot (Cli) - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Destroying a Snapshot (CLI)

Related Topics
"Understanding Users and Roles" on page 177
"User Authorizations" on page 178
Destroying a Snapshot (CLI)
Use the following procedure to destroy a snapshot.
To complete this procedure, you must have Super-User privileges or one of the following
Before You Begin
role authorizations within the Projects and shares scope:
To add authorizations to a role, see
1.
Go to shares and select the project, or select the project and then a share.
hostname:> shares select myproject
hostname:shares myproject> select demo_share
2.
Enter
hostname:shares myproject/demo_share> snapshots
3.
Enter list to view the list of snapshots for the project or share.
hostname:shares myproject/demo_share snapshots> list
demo_snap1
demo_snap2
4.
Use the destroy command to delete an individual snapshot using one of two
methods:
Select the snapshot you want to delete, then type destroy.
hostname:shares myproject/demo_share snapshots> select demo_snap1
hostname:shares myproject/demo_share@demo_snap1> destroy
Type
hostname:shares myproject/demo_share snapshots> destroy demo_snap1
5.
Type
Y
This will destroy all data in "demo_snap1"! Are you sure? (Y/N) Y
460
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
destroySnap - Allows users to only destroy snapshots.
destroy - Grants privileges to remove projects and shares, including snapshots.
.
snapshots
followed by the snapshot name.
destroy
to confirm your action.
"Editing Authorizations for a Role (CLI)" on page
174.

Advertisement

Table of Contents
loading

Table of Contents