Recommended links¶
Introductory material¶
If you’re just getting starting with ZFS, I recommend reading these from start to end to gain a basic understanding of the lingo, tools, and setup choices involved. As usual: don’t go in unless you know how to get out; always have backups, never store them using unfamiliar tools, and don’t depend on their availability before checking their restorability.
“ZFS” on Ubuntu wiki. A short description of the file system and its use cases.
“Setup a ZFS storage pool” on Ubuntu tutorials. A practical introduction to
zpool
and pool creation.ZFS mini primer by the Ubuntu kernel team. Explains key features along with some command examples.
“Getting Started”, OpenZFS documentation. Covers installation on multiple distributions, as well as their installation on ZFS [1]. There’s also a FAQ, and a link to Aaron Toponce’s documentation which predates newer OpenZFS features like native encryption, but still holds up well as introductory material.
Tutorials¶
“Incremental backups with zfs send/recv”. Short and sweet - the whole site sits really well with me. Doesn’t cover encryption though, so I’ve put up some notes here.
“Testing the self-healing of ZFS on Ubuntu 20.04” on Ubuntu tutorials. Steps 3 & 4 include commands to create “fake disks” for testing purposes (spoilers: just
dd
a gig from/dev/zero
).Restoring individual files from snapshots without rolling back. The answer lies in the
.zfs/snapshot
directory, located at the top level of each dataset. It’s a really hidden virtual directory via which you have read-only access to that dataset’s snapshots. You’ll need to navigate to it manually. See “Having access to previous user states” for a small how-to, applicable to ZFS in general. There’s also this Reddit thread in which u/DeHackEd describes their non-zfs backup setup.
Command references¶
“Man Pages”, OpenZFS documentation. One of those manuals you might actually want to read - or at least skim - through before diving in. Unlike some online man pages, these ones have working links, and the subcommands’ pages are nicely split out, improving browsability. Here are some quick links for the usual suspects: