I have recently installed and set up an OMV4 NAS. I would like to set up ZFS with encryption. It seems that LUKS and ZFS do not play well with OMV (something related to the creation of shared folders occurring before the drives are unlocked). It also seems there may not be support yet for running encryption with ZFS in OMV4 (with or without the plugin - not sure on that part).
Anyways, my question is how to best go about getting a ZFS pool with encryption set up with OMV.
- LUKS or native encryption (not really sure which is most appropriate or what the advantages or disadvantages are)?
- Will the plugin support it? I can work from the terminal if needed, but I don’t want to end up with a system where OMV then cannot manage shares, perms, etc.
- Should I upgrade to Debian Buster or OMV5? Is there a projected/estimated release for OMV5, and would it solve any of my problems?
Any advice would be much appreicated.
Edit: I did try just setting up LUKS encrypted drives, but then the ZFS create fails (it says RAIDZ2 requires 3 or more devices - I have 7 - I believe this is a known bug). I might be able to get past this on the CLI, but some googling suggested this will just cause more problems with the shared folder creation at boot.