LVM-thin Replication (HA?)

jBarrel

New Member
Jan 12, 2025
5
0
1
Hi, I plan to connect two Proxmox hosts in a cluster, but I can't add a third node for now, so I'll use a qdevice.
I would like to implement a HA system, even if it's not fully automatic or fast.

I can't use Ceph/GlusterFS since I only have two nodes, and I considered ZFS replication, but with only 500 Mbps in my LAN, I believe it could become a bottleneck.

Would it be feasible to use LVM-Thin with periodic replication over the 2 nodes (e.g., every 5 minutes)? The data isn't particularly critical, so an occasional delay would be acceptable.

Has anyone tried a similar setup or has any suggestions on how to implement this efficiently?
 
I considered ZFS replication, but with only 500 Mbps in my LAN, I believe it could become a bottleneck.
Possibly yes. Probably not.

Replication transports only the actually changed bytes. Depending on the amount of this it takes some time. Or it finishes in a few seconds - for a nearly idle VM, doing only a few writes to the log files. Other example: a web server delivering pages - which requires reading data from disk, not writing.

If you go for ZFS for the very first time then you should read some articles and/or posts. ZFS is really great, but I must admit that there are some pitfalls.

E.g.: https://forum.proxmox.com/threads/f...y-a-few-disks-should-i-use-zfs-at-all.160037/