Hi,
zfs was not designed for a clusterfs. It is a storage volume manager. .
Thanks for the response. I should have phrased my question more clearly.
ZFS has a "clustering" feature whereby volumes can be replicated and failed over to other nodes, creating an active-active "cluster".
https://docs.oracle.com/cd/E37831_01/html/E52872/godgc.html
(I'm not sure if this can be done with Zo, will attempt later.)
The difference between this and PM HA, if I'm understanding correctly, is that it only works once, and must be manually failled back to the original node. Presumably it uses zfs replication and changes the direction of it as needed.
I use PM in my office/lab and I pass GPUs to the VMs (unfortunately PM makes a bad choice for this). My goal was to set up replication and fast offline migration of my VM from one node to another.
PM HA would work, if I manually detach and reattach local devices, which I'm fine with, but it requires either remote shared storage (NAS is slow for desktop use) or replication with e.g. DRBD (which I hear terrible things about).
This is intended to be educational and a labor of love more so than functional, and there are no plans for production use, so hackish solutions are fine.
What I'll probably do is start out with pbe-zsync, a vm on each node, and some ugly implementation. However, this would be active-passive with offline migration, and I'm not sure how long it will take to sync back after modifying the 2nd node.