Well I personally ran into a BUG where ZFS on top of LUKS would start to throw a Barrage ofAgain, key phrase..."block device". ZFS is a file system and if it cannot...There's no secret sauce with Oracle.
zio Pool Errors and keep trying again and again and again and again to write the same Damn 2 Faulty Blocks/Sectors without timing out or stopping.CKSUM and WRITE errors when receiving snapshots or scrubbing (2.2.4, LUKS) · Issue #15646 · openzfs/zfs
This is probably still #15533, but making a separate issue just in case. System information Type Version/Name Distribution Name NixOS Distribution Version 23.11 Kernel Version 6.1.65 Architecture x...
The Workaround for a while has been to setup a LOOP Device and feed that to ZFS instead, for which I had to write the following, since I have it on my root Pool:
GitHub - luckylinux/workaround-zfs-on-luks-bug: workaround-zfs-on-luks-bug
workaround-zfs-on-luks-bug. Contribute to luckylinux/workaround-zfs-on-luks-bug development by creating an account on GitHub.
In Theory at least the Problem has been solved and by default with ZFS 2.3.x it switched to that new Disk Layout to hopefully avoid this.
That's just to show that a "Block Device" is a "Block Device" is not always true.
Sure ZFS Bugs happen. LUKS Bugs happen. Hardware RAID Bugs happen. And sure you can argue that in the great Scheme of Things I had a "small" Issue. Those were a couple of Hellish Weeks on a few Systems for me though