Habemus OpenZFS on Windows 2.4.4 Latest
github.comNo longer a release candidate!
Just like OpenZFS on OSX - Released-
No longer a release candidate!
Just like OpenZFS on OSX - Released-
Changes to know about
r/zfs • u/Tyro_Sageframe • 8d ago
I've been running ZFS in my homelab for a while, and one thing I've noticed is how often people learn the commands without really understanding the underlying storage model.
So I built ZFS, Actually, a free interactive guide focused on understanding how ZFS works rather than just getting it configured.
It starts with what a filesystem actually does and works through pools, vdevs, redundancy, snapshots, backups, disk failures, and performance.
https://star-actually.sageframe.net/zfs-actually/
I tried to make it approachable for beginners without oversimplifying the technical details. And the learning model allows you to navigate up and down in level of detail.
I'd especially appreciate feedback from people with more extensive ZFS experience. Are there explanations that are misleading, important distinctions I've missed, or concepts that deserve more attention?
r/zfs • u/MaSuCcHI1 • 8d ago
I've been writing a self-hosted tool in Go (db-branch) to spin up disposable MySQL (8.0 / 8.4) and PostgreSQL (18) instances for CI, local dev, and agent testing. It targets OpenZFS 2.2 on Ubuntu 24.04 / 26.04 LTS, using ZFS snapshots, clones, and send/recv directly for the storage layer.
GitHub:https://github.com/db-branch/db-branch
Mostly posting to share the ZFS architecture and the trade-offs I've run into so far, and to get some input from people who run ZFS heavily in practice.
How ZFS is used
zfs clone (lz4 compression) and starts an isolated DB process on that dataset. On a 3-node test setup, time from API call to accepting connections is roughly ~0.5s for Postgres and ~3s for MySQL.zfs snapshot while the branch is running (restoring causes a brief drop of ~0.7s on Postgres and ~2s on MySQL).zfs send/recv distributes base data across nodes. ProxySQL 3.x (with Postgres protocol support) sits in front to route connections to the right node and branch.init sets a cap on zfs_arc_max, and the UI monitors pool usage alongside it (warnings at 80% / 90%).Trade-offs and current limitations
Questions for folks here
recordsize, ARC sizing, or metadata overhead as snapshots and clones pile up?zfs send/recv to sync base snapshots across nodes?Note: The core is Apache-2.0, with a few modules like SSO and transaction history as paid add-ons (open-core). I'm in JST, so replies might be delayed when I'm asleep.
Hello,
For some reason, the Kernel module won't load with the secureboot enabled no matter what I do, the error is the following (during the Debian startup) :
[FAILED] Failed to start zfs-load-module.service - Install ZFS kernel module.
I read that this might be due to the kernel module not being signed, but I can see it getting signed by the DKMS mok in the install logs :
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
[...]
Signing module /var/lib/dkms/zfs/2.4.4/build/module/zfs.ko
Signing module /var/lib/dkms/zfs/2.4.4/build/module/spl.ko
[...]
Installing /lib/modules/6.12.117+deb13-amd64/updates/dkms/zfs.ko.xz
Installing /lib/modules/6.12.117+deb13-amd64/updates/dkms/spl.ko.xz
After the install ZFS works, i can see the module with "zfs --version" :
zfs-2.4.4~bpo13+1
zfs-kmod-2.4.4-1~bpo13+1
"modinfo zfs" tells me the modules are signed :
filename /lib/modules/6.12.117+deb13-amd64/updates/dkms/zfs.ko.xz
[...]
signer: DMKS module signing key
[...]
filename /lib/modules/6.12.117+deb13-amd64/updates/dkms/spl.ko.xz
[...]
signer: DMKS module signing key
[...]
Yet if I enable the secure boot, the error appears, ZFS no longer works and "zfs --version" shows an error for the kernel module
After searching online, I generated another MOK key, added it to the UEFI and signed both modules with it but the behavior stays the same
any idea ?
r/zfs • u/Betelgeuse650 • 11d ago
I have long wanted to learn ZFS and now I finally have a project that could benefit from ZFS (I think).
The server is running debian 13 has 64GB ram, 1TB Samsung NVMe and currently 8 20+TB disks
The disks are from a previous project and probably overkill for the servers new purpose. What is the right ZFS setup for a fast postgres database? Database size around 200GB and possibly many simultaneously client queries to the database.
r/zfs • u/BubblyZebra616 • 12d ago
Currently I have the following disks: 2x 22TB 2x 14TB 7x 4TB
I have ~20TB of data currently. Only about ~5-10TB will be backed up.
I am splitting these drives across 2 machines. A main storage appliance and an appliance that makes backups of the main.
Currently my idea is to have all the 22TB and 14TB disks in the main server and all the 4TB disks in the backup. I would place the 22TB disks in a mirror vdev and do the same with the 14TB disks and add them to the same pool. For the backup server I would put all the disks in a single raidz2 vdev.
My data is mostly seeding torrents and media which I stream along with backups and miscellaneous data. I don't need blazing fast speed and want to prioritize resilience without compromising too much on usable space.
Is this a good plan? What might be better?
r/zfs • u/tamaness • 13d ago
I have a disk in faulted status, and one of my hot spares is holding up the pool. i’d like to yank the bad disk so i can have a look at it on another system and recycle it if it’s actually bad, but i haven’t been able to figure out how to remove it from the pool. i assume it’s not as simple as just physically removing the disk from my hot swap enclosure.
the only result i found when googling was a stackoverflow post from 2008 with instructions that didn’t appear to do anything, though the commands definitely exist in the helpfile.
r/zfs • u/bankroll5441 • 14d ago
As a big fan of TUIs, I was a little bummed that there aren't any maintained TUIs for ZFS. I started building one (that is not public rn, but would be GPL-3+ written in Go. The general idea is that anything that can be done through the command line should be able to be completed through the TUI, along with additional functionality.
Features:
Planned:
Yes, the project is being written with AI support.
r/zfs • u/SiktahOG • 13d ago
Something I vibe coded and testing out due to not being able to afford more ssds 🤣
Let me know if you’re interested, think I’m mad etc
Thick skin engaged, go!
r/zfs • u/RetroGrid_io • 14d ago
Anthropic has a project to help open source project find and fix bugs (not GlassWing) and OpenZFS is clearly the kind of important, infrastructure open-source project being targeted for help.
Does anybody know if OpenZFS is taking advantage of this?
r/zfs • u/Jastibute • 15d ago
Unix permissions are not my strong suit. So when it comes to creating pools and datasets, I am totally lost. When should we create a pool as sudo vs without? When should we create datasets with sudo and without?
r/zfs • u/2BeTheFlow • 20d ago
I am using OpenZFS 2.3 and have been taking multiple snapshots of my root-on-ZFS pools and sending them to external drives for backup.
As the host SSD was running low on storage, I read the documentation about bookmarks for the first time and created some for older snapshots of said pools, so I could destroy the oldest snapshots and continue performing incremental send streams.
As mentioned, it was my first time using bookmarks, and when I started reading the documentation, I was thinking about the importance of having some -r option, like with snapshots, but forgot about it while reading. Anyway, I created the bookmarks, destroyed the old snapshots, and had space again (I had like 5 GB left on a 4 TB drive, with no quotas/reservations etc. — only the default slop space was left). I created a new snapshot and wanted to incrementally send the latest snapshot to the backup drives, only to receive some funny error: Error: multiple snapshots cannot be sent from a bookmark.
Then it hit me. Fvvvvvvvck.
zfs list -t snapshot,bookmark shows: I only have a bookmark of the pool — not its children.
So I went back to the ZFS documentation and noticed that bookmark -r was only recently added to the master branch. Welp, that's maybe why my brain shut off when I didn't see it in the v2.3 documentation.
Consulted some LLMs to see if I could fix the situation, but it seems there is no realistic option. I guess I'll have to break the chain and send a new backup to the drives, losing the incremental history :(
On the one hand, I'm kinda frustrated because I've spent my entire weekend since Friday doing nothing but ZFS-related stuff, with no other use of the machine. On the other hand, I'm really glad I've learned this lesson now, while it's non-critical.
tl;dr:
zfs bookmark -r is only available in future releases (not up until v2.4)zfs send -i/-I from a bookmark (even if theoretically possible), but rather from a snapshot, circumventing the lack ofzfs bookmark -r and the lack ofzfs send -Rfor bookmarks (Error: multiple snapshots cannot be sent from a bookmark)If anybody knows a way to fix my issue using the existing snapshots on the external drive and the pool#bookmark (no child bookmarks for the pool's datasets) on my internal drive, I'd be glad to hear it.
But first: for the next 24 hours, I'm taking a break from managing ZFS 🐼
r/zfs • u/RetroGrid_io • 21d ago
I tried to upgrade to Fedora 45, but there's no "45" folder at the ZFS on Linux download site.
Any news on this front? I'll admit that seeing links like this when I search for ZFS Fedora 45 is concerning.
r/zfs • u/_Lost-In-The-Weeds_ • 21d ago
[SOLVED]
Had a long bootup today on LMDE7, basically Debian from a base perspective, rebooted to the same results.
ran systemd-analyze plot > plot.svg which fingered zfs-impoort-cache.service as the culprit.
https://postimg.cc/2V3FmL5t
was concerned about my pools for a moment but digging around I found that apparently a scheduled scrub started last night and I interrupted it with a shutdown.
Its a 3 rust disk z1 pool and will take a while to complete.
Is this expected behavior that will go away once the scrub is complete? I do not know that I have ever interrupted a scrub, but it appears to just start back where it left off at
dad@RatRod:~$ zpool status
pool: lagoon
state: ONLINE
scan: scrub in progress since Sun Nov 8 00:24:01 2026
1.86T / 1.97T scanned at 1.69G/s, 410G / 1.97T issued at 374M/s
0B repaired, 20.35% done, 01:13:16 to go
config:
NAME STATE READ WRITE CKSUM
lagoon ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
wwn-0x5000cca260d7dbfb ONLINE 0 0 0
wwn-0x5000cca260dba420 ONLINE 0 0 0
wwn-0x5000cca261c92058 ONLINE 0 0 0
errors: No known data errors
pool: suwannee
state: ONLINE
scan: scrub repaired 0B in 00:03:04 with 0 errors on Sun Nov 8 15:58:48 2026
config:
NAME STATE READ WRITE CKSUM
suwannee ONLINE 0 0 0
nvme-eui.0025384931406ac8 ONLINE 0 0 0
errors: No known data errors
Edit once the scrub was complete bootup went back to normal. https://postimg.cc/DW0fCGPQ
https://github.com/openzfsonwindows/openzfs/releases
Only for tests, not backward compatible with older OpenZFS
currently only mirror, not yet
r/zfs • u/MorgothTheBauglir • 25d ago
I had a trueness server with ZFS. I want to remove my files from the ZFS is there some way to just get in the directory and get the files out or how should I go about getting them?
r/zfs • u/adminvasheypomoiki • 26d ago
fsync promises two things, durability and ordering, and I only need ordering.
ext4 gives both or neither: every fsync commits the journal and flushes the disk cache.
ZFS with sync=disabled gives ordering alone: transaction groups land in order, and a crash loses the last tens of seconds, not a database.
My two HDDs are 2.7% busy instead of 13%, and a write takes 2 ms instead of 16.
r/zfs • u/br0th3rivery • 27d ago
Disclosure: I'm the author of zark, free software (Apache 2.0). I'd like feedback from people who know ZFS better than a distro installer does.
What it does: it backs up an Ubuntu system on encrypted ZFS to an external drive, still encrypted, and rebuilds it on a new disk from a live USB, booting with Secure Boot on the stock Ubuntu boot chain. Supported: Ubuntu 24.04 and 26.04 LTS, installed with the installer's encrypted ZFS layout, Secure Boot on.
Design points that matter to this sub:
Why I wrote my own replication: in September I ran a zfs destroy with a % range on my home dataset to free space in an almost full pool. It also took the monthly snapshots in between, which one of my drives still shared with the laptop. Thirteen days later sanoid pruned the last common snapshot. After that, /home could not be sent incrementally to that drive. syncoid refused it, and zark 1.0.12 printed a warning, then BACKUP COMPLETED, and recorded the date. Every dataset on the drive was current except /home, a month old. Nothing was lost, but a backup tool exists to be believed, so I rebuilt it as 2.0.
Self-test: zark selftest checks that your machine's ZFS, kernel and tools behave the way zark relies on. Each release publishes the results from my test machine (certificates/ in the repo). zark selftest status tells you whether those results cover your kernel and OpenZFS version, and zark selftest report prints a link to share yours. I would like to collect results from other OpenZFS and kernel combinations: https://github.com/juanmitaboada/zark/issues/2
The question I'd like answered: what would you expect a verification step after a raw send to prove that I'm not checking? And if you use USB-SATA bridges for backup drives, I'm collecting which bridge chips behave and which do not: https://github.com/juanmitaboada/zark/issues/3
Numbers from my own use: a daily backup of my laptop takes about two minutes. On the test laptop, a full recovery from a live USB reached RECOVERY COMPLETE in 3m10s and in 3m25s; with more data, add the time it takes to copy it. I ran dozens, maybe hundreds, of backups and recoveries while building 2.0 and none failed.
zark partitions disks and destroys pools when you ask it to, so read what it touches first: https://github.com/juanmitaboada/zark#what-zark-touches
Full story, with photos: https://www.juanmitaboada.com/my-laptop-lost-its-disk-three-times-so-i-wrote-zark/
Code and docs: https://github.com/juanmitaboada/zark
Explainer video: https://youtu.be/RW7M9PC5les
r/zfs • u/mlcarson • 27d ago
I've got a GhostBSD system that is using ZFS. I have some Linux installs that do not. I wanted to add ZFS support to them and did so on Devuan and it behaved and didn't import any pools on its own. I installed ZFS on Void Linux though and it automatically imported all of the pools that it could find and then automounted my GhostBSD datasets which caused all kind of havoc with overlapping mountpoints on the various datasets.
I still want Linux to able to mount a dataset but I don't want it to happen automatically. I still need GhostBSD to be able to boot though. I'd ultimately like to just create a separate shared pool between Ghostbsd and Linux. How do I do that without other pools being automounted?