https://github.com/openzfs/zfs/labels/Component%3A%20Encryption – Component: Encryption
Without browsing any of the issues, it’s fair to say that for me: yes, it’s production-ready. A limited use case:
% zfs get encryption Transcend/VirtualBox
NAME PROPERTY VALUE SOURCE
Transcend/VirtualBox encryption aes-256-gcm -
%
- mostly virtual disk files for VirtualBox guests.
Wreckage (carelessness) and survival
The pool began life years ago, on a ~500 G mobile hard disk drive. One day I accidentally targeted the device as an of
for dd
. I soon realised my mistake, and stopped. No surprise: the overwrite included two of the four labels, and part of the encrypted dataset. Briefly:
- I removed the very few files that were affected
- in February, I created a new pool on a mobile HDD that’s twice the size
- sent from the old pool, received at the new.
Some of the larger files that are now in the encrypted dataset (the vast majority existed before the send):
% bfs /media/t1000/VirtualBox -name "*.v*" -exec du -h '{}' + | grep "G"
56G /media/t1000/VirtualBox/Windows/Windows.vdi
5.4G /media/t1000/VirtualBox/misc/LIVEstep/LIVEstep.vdi
3.2G /media/t1000/VirtualBox/Linux/Kubuntu/Kubuntu.vdi
2.9G /media/t1000/VirtualBox/Linux/Raspberry Pi/Rasbperry Pi.vdi
33G /media/t1000/VirtualBox/Windows/Snapshots/{492fdaf5-8bbe-483e-9b29-cdd191c19852}.vdi
1.3G /media/t1000/VirtualBox/BSD/others/hello-0.8.0_0H240-FreeBSD-13.1-amd64 a074801/hello-0.8.0_0H240-FreeBSD-13.1-amd64 a074801.vdi
3.9G /media/t1000/VirtualBox/BSD/others/SoloBSD/SoloBSD.vdi
6.5G /media/t1000/VirtualBox/BSD/others/CultBSD/cultbsd-alpha2-ufocult.vdi
3.4G /media/t1000/VirtualBox/BSD/others/NomadBSD/nomadbsd-130R-20210508.amd64.vdi
4.5K /media/t1000/VirtualBox/BSD/others/STIGMA/STIGMA.vbox
4.5K /media/t1000/VirtualBox/BSD/others/STIGMA/STIGMA.vbox-prev
13G /media/t1000/VirtualBox/BSD/others/MidnightBSD/MidnightBSD.vdi
1.6G /media/t1000/VirtualBox/BSD/others/lua-httpd/lua-httpd.vdi
5.0G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/FreeBSD-12.2-RELEASE-amd64.vhd
1.0G /media/t1000/VirtualBox/BSD/FreeBSD/12.3-dvd, 12.4-RELEASE-p2/12.3-dvd.vdi
54G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 14.0-CURRENT 1400088/FreeBSD 14.0-CURRENT.vdi
2.1G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD-13.2-STABLE/FreeBSD-13.2-STABLE-amd64.vhd
20G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 13.2-RELEASE, EFI, latest, UFS, KDE Plasma/FreeBSD-13.0-RELEASE-amd64-KDE-Plasma.vdi
24G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD-13.1-RELEASE-amd64-dvd1/FreeBSD-13.1-RELEASE-amd64-dvd1.vdi
1.6G /media/t1000/VirtualBox/BSD/others/hello-0.8.0_0H240-FreeBSD-13.1-amd64 a074801/Snapshots/{13df7bba-c589-4b20-a5a4-d2159a64708a}.vdi
8.2G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{c505f334-00ee-4669-947a-31a74b10505e}.vhd
13G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{47244ba4-7a18-4f46-8327-66f7a00cdb84}.vhd
2.4G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{b31d111b-ef87-40aa-8b29-c641957894c0}.vhd
8.7G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{75d5ec1e-ce05-4eb3-90ec-2c5f2d75fcc1}.vhd
3.6G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{4bc29f0f-f9ec-4e16-88ad-17431314fece}.vhd
5.2G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{af089c11-8df4-474e-bd57-817a2f20b697}.vhd
3.3G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE, latest, UFS, aborted/Snapshots/{d3553ff2-7c05-4126-b583-268256f90a81}.vhd
3.8G /media/t1000/VirtualBox/BSD/FreeBSD/12.3-dvd, 12.4-RELEASE-p2/Snapshots/{a8f8a5be-07ba-4a3e-ab86-52e6e333a0b9}.vdi
1.0G /media/t1000/VirtualBox/BSD/FreeBSD/12.3-dvd, 12.4-RELEASE-p2/Snapshots/{ac315b21-30e7-446f-921d-328a2224f998}.vdi
1.7G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE-p2, UFS/Snapshots/{9d567f00-c024-4d8c-bf4b-c6d4b70cd1bf}.vhd
5.5G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 12.4-RELEASE-p2, UFS/Snapshots/{75d559bb-4a0e-454e-82c1-b6bcfd876fde}.vhd
2.2G /media/t1000/VirtualBox/BSD/FreeBSD/263501-zdb/Snapshots/{d21794d4-7ed8-439e-863b-ac5024bc6847}.vdi
1.5G /media/t1000/VirtualBox/BSD/FreeBSD/263501-zdb/Snapshots/{847a4dbb-897b-42d1-b750-c816136f2c98}.vdi
7.1G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 13.1-RELEASE-p5, quarterly, UFS/Snapshots/{eac75e3f-b653-46d8-adad-e6b50918279d}.vhd
6.1G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 13.1-RELEASE-p5, quarterly, UFS/Snapshots/{8ebe983b-7c3a-42bb-bee8-c8e48469fc6c}.vhd
43G /media/t1000/VirtualBox/BSD/FreeBSD/FreeBSD 13.2-RELEASE, latest, ZFS, crashed during or after the second freebsd-update for 13.2/Snapshots/{2bb9da39-ca9d-4aa5-be23-af53c87c2249}.vdi
%