I would be interested in hearing more about this setup. Would you care to do a post on this someday?
Oh it was not that difficult but it was certainly involved.
In order to use ZFS as storage you must first create a ZFS pool and mount the pool somewhere, then ensure the mode of the mounted directory is
root:qubes 770 g+s, then you must create a
qvm-pool using the driver
file, pointed at the mountpoint of your pool.
Then you can set the default driver to be your
file-based Qubes storage pool.
After you have done this, you can begin creating VMs backed by the new pool. Moving VMs from your LVM-based pool to your file-based pool is not exactly in scope within this explanation, but it can be achieved by using
qvm-clone or other tricks.
Quite honestly let me say that ZFS support should be built into Qubes as a proper storage pool driver. The file-based driver has bad shortcomings.
Thanks for the explanation. I’ll try and fill in the gaps once I try this.