From 1bdb8667ed1fce895ccd0a928ecc50155d0c1716 Mon Sep 17 00:00:00 2001 From: Tobias Lang Date: Thu, 17 Nov 2016 11:32:27 +0100 Subject: [PATCH] ZFS commands to list snapshots added. --- commands.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands.md b/commands.md index ef8726f..2ea3a45 100644 --- a/commands.md +++ b/commands.md @@ -46,6 +46,8 @@ systat -tcp 1 # show tcp statistics ``` zfs list # list all zfs datasets (volumes) +zfs list -t snapshot # list all zfs snapshots +zfs list -r -t snapshot # list zfs snapshots for a given pool zfs snapshot /@ # 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 create / # create a new dataset