1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

ZFS commands to list snapshots added.

This commit is contained in:
Tobias Lang
2016-11-17 11:32:27 +01:00
committed by bitsunited
parent a97b34f1e0
commit 1bdb8667ed

View File

@ -46,6 +46,8 @@ systat -tcp 1 # show tcp statistics
``` ```
zfs list # list all zfs datasets (volumes) zfs list # list all zfs datasets (volumes)
zfs list -t snapshot # list all zfs snapshots
zfs list -r -t snapshot <pool> # list zfs snapshots for a given pool
zfs snapshot <pool>/<dataset>@<name> # generic way of creating a snapshot of a dataset in a storage pool zfs snapshot <pool>/<dataset>@<name> # generic way of creating a snapshot of a dataset in a storage pool
zfs snapshot -r tank@2014021301 # create a snapshot of all datasets in the pool "tank" zfs snapshot -r tank@2014021301 # create a snapshot of all datasets in the pool "tank"
zfs create <pool>/<dataset> # create a new dataset zfs create <pool>/<dataset> # create a new dataset