From 7c383751e1ff8c0e0712824d5be124f30d8e23f4 Mon Sep 17 00:00:00 2001 From: michele Date: Thu, 20 Mar 2014 13:51:04 +0100 Subject: [PATCH] add example of destroying all system data --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e0a53f6..7e1984d 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,13 @@ tested for a number of scenarios, and used in a number of servers. Because of the inherently partial nature of testing, you are aware that this brings no guarantees that it'll work for your scenario. +Careful yourself when working with ZFS snapshots! Check this out: + + zfs destroy -r zroot@mysnap # destroy snapshot 'mysnap' from pool 'zroot' + zfs destroy -r zroot#mysnap # destroy all system data, and comment it's 'mysnap' + # notice that # and @ are next to each other on most keyboards. + # Sun made a poor choice, or they are adrenaline junkies. + ## License Copyright (c) 2014-present, Michele Mazzucchi