- Oracle ZFS Storage Appliance Administration Guide, Release OS8.8.x
- Snapshots and Clones
- Viewing Snapshots and Schedules (CLI)
Viewing Snapshots and Schedules (CLI)
Use the following procedure to view the snapshots and automatic snapshot schedules of a particular filesystem, LUN, or project.
- Go to
shares
and select the project or share.hostname:> shares select myproject hostname:shares myproject> select demo_share hostname:shares myproject/demo_share>
- Enter
snapshots
.hostname:shares myproject/demo_share> snapshots hostname:shares myproject/demo_share snapshots>
-
View the snapshots or snapshot schedules using the appropriate
commands.
- Enter
list
to view a list of the snapshots of this share or project.hostname:shares myproject/demo_share snapshots> list demo_snap1 demo_snap2 hostname:shares myproject/demo_share snapshots>
You can select a snapshot, and use the
list
command to see the following properties:-
creation
- the date and time of creation of the snapshot in UTC format -
numclones
- the number of clones of the snapshot -
isauto
- whether the snapshot was created manually (false
) or with an automatic snapshot schedule (true
) -
retentionpolicy
- the retention policy setting of the snapshot -
pool
- what storage pool the snapshot is in -
canonical_name
- the location of the snapshot -
shadowsnap
- whether the snapshot was taken during shadow migration (true
) or not (false
) -
space_unique
- the amount of unique space the snapshot uses -
space_data
- the total amount of space the snapshot references
hostname:shares myproject/demo_share snapshots> select demo_snap1 hostname:shares myproject/demo_share snapshots demo_snap1> list Properties: creation = Thu Nov 12 2021 20:19:49 GMT+0000(UTC) numclones = 1 isauto = false retentionpolicy = off pool = pool1 canonical_name = pool1/local/myproject/demo_share@demo_snap1 shadowsnap = false space_unique = 0 space_data = 31K
-
- Enter
automatic
, and use thelist
command to view a list of the automatic snapshot schedules of this share or project.hostname:shares myproject/demo_share snapshots> automatic hostname:shares myproject/demo_share snapshots automatic> list Properties: convert = false Automatics: NAME FREQUENCY DAY HH:MM KEEP automatic-000 day - 00:00 4 automatic-001 month 01 00:00 12
- Enter