[Bug 235831] [FEATURE REQUEST] [ZFS] Option to **non-destructively** import ZFS pool at checkpoint (i.e., keep the checkpoint)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 18 09:33:13 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235831
Bug ID: 235831
Summary: [FEATURE REQUEST] [ZFS] Option to
**non-destructively** import ZFS pool at checkpoint
(i.e., keep the checkpoint)
Product: Base System
Version: 11.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: stilezy at gmail.com
The ZPOOL feature "zpool import --rewind-to-checkpoint POOLNAME" was recently
added - thank you! But there's a slight omission which I hope is easy to add.
Rewinding to a checkpoint is always a destructive act - the checkpoint is
destroyed by the "import --rewind-to-checkpoint" command.
If testing, it is extremely useful to [create checkpoint -> test -> rewind ->
test -> rewind] multiple times, to compare the behaviour with different
options. At present one has to re-checkpoint, but the recheckpoint loses the
date.
FEATURE REQUEST
Is it possible to add a variant "--rewind-to-checkpoint-no-discard" or
"--rewind-to-checkpoint -k" (for keep), that simply skips the call to destroy
the checkpoint, after rewind + import has completed?
EFFECT:
It's possible to rewind to a checkpoint **without** destroying the checkpoint
in the process.
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list