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

Merge pull request #4 from tbartelmess/patch-1

Added ZFS create command
This commit is contained in:
John-Paul Bader
2016-08-26 07:26:30 +02:00
committed by GitHub

View File

@ -48,6 +48,7 @@ systat -tcp 1 # show tcp statistics
zfs list # list all zfs datasets (volumes) zfs list # list all zfs datasets (volumes)
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 rollback <pool>/<dataset>@name # rollback of a dataset to a given snapshot zfs rollback <pool>/<dataset>@name # rollback of a dataset to a given snapshot
zfs destroy <pool>/<dataset> # destroy a dataset / remove it from the pool zfs destroy <pool>/<dataset> # destroy a dataset / remove it from the pool
zfs destroy <pool>/<dataset>@name # destroy a snapshot zfs destroy <pool>/<dataset>@name # destroy a snapshot