GeistHaus
log in · sign up

ZFS

wiki.archlinux.org
14 pages link to this URL
ZFS Commands Cheat Sheet

My commonly used zfs commands. I find the Arch Wiki ZFS article to be a great resource, and is more complete and meaningful reference than my commonly used commands listed here. Export a pool from a machine This should be done before unplugging drives and plugging them into a new machine. zpool export mypool List pools zpool list List pools with datasets zfs list Change encrypted dataset key location zfs set keylocation=file:///keys/my.key mypool/mydataset View/get encrypted dataset key location zfs get keylocation mypool/mydataset Load the key for a dataset zfs load-key -r mypool/mydataset Mount a dataset zfs mount mypool/mydataset Change the mountpoint of a pool zfs set mountpoint=/mnt/mymount mypool Change the mountpoint of a dataset zfs set mountpoint=/mnt/mymount mypool/mydataset Create an encrypted pool (no dataset) sudo zpool create \ -o feature@encryption=enabled \ -O encryption=on \ -O keylocation=file:///keys/my.key \ -O keyformat=raw \ -O mountpoint=/mnt/mymount \ mypool /dev/my/device/123 Rename a pool zpool export mypool zpool import mypool mypool-with-new-name Rename a dataset zfs rename mypool/mydataset-old-name mypool/mydataset-new-name Rename/change the udev symlink of a pool If disks were added with references like /dev/sdX the entire pool can be exported and re-imported with the -d search path to use predictable dev node names.

ZFS Basics

What I learned about ZFS - concepts, words, simple explanations and useful resources.

0 inbound links article en
ZFS commands

The commands on this page are my notes reading [FreeBSD handbook ZFS chapter](https://docs.freebsd.org/en/books/handbook/zfs/), [OpenZFS - Root on ZFS](https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html) and [ZFS Debian wiki](https://wiki.debian.org/ZFS).

My 2023 all-flash ZFS NAS (Network Storage) build

For over 10 years now, I run two self-built NAS (Network Storage) devices which serve media (currently via Jellyfin) and run daily backups of all my PCs and servers. In this article, I describe my goals, which hardware I picked for my new build (and why) and how I set it up.

0 inbound links en CC BY 4.0
Let's self-host!: Redundancy with ZFS

How I use zfs for redundancy on my home server. This article is aimed at beginners and will cover the basics of zfs and how to set up a zfs pool with redundancy.

1 inbound link website en home server
ZFS on a Raspberry Pi - ClickedyClick

Using ZFS to make the most an assorted bunch of SD cards and USB sticks for storage, and hitting Linux kernel licensing issues along the way.

0 inbound links article en AdminComputers Arch LinuxRaspberry PiSysAdminZFS
Linux backup workflow for hackers with restic, rclone, Backblaze B2

In 2017, CrashPlan was one of the most popular full-computer offsite/cloud backup tools for consumers. It had millions of paid users, usually paying around $10/month for a few terabytes of offsite storage. But then... "On August 22, 2017, Code42 announced they were shutting down CrashPlan for Home, effective in October…

0 inbound links article en Open Source