Hi Matthias, > Am 19.01.26 um 21:15 schrieb Matthias Petermann <[email protected]>: > > - Reliable, consistent online backups from running guests > - Good read/write performance, ideally close to raw disk access > - Flexibility in terms of free space allocation (on demand)
after testing / ecperiencing a lot monthes ago we switched from LVM Dom0 (linux dom0) to dom0 with a zfs pool (single device zpool on a hardware array in our case) providing zvols as block devices for the domu. Even with lz4 compression it is much faster then LVM for us while we save >50% of disk space. We run i.e. internet servers and databases on it. With zfs i can easily „overbook“ disk space - zvols can have more brutto capacity in sum then the zfs pool in real and even vietually by compression have. Snapshots are done by a script (i call it xen snapper) i can provide you as open source- with i.e (multiple) daily + weekly snaps (amount of days/weeks could be configured) while i do backup simply by zfs replication per „syncoid“ (from sanoid)to another internal zpool + a external on WAN. Only changed blocks are replicated daily, saving lot of time as traffi even over former incremental backup solutions (see i.e. xen-backup which i formerly wrote for lvm / tar). once a month i do a third backup syncoid to a mac book with external thunderbolt SSD which is one zfs pool ad well (crucial x10 6TB). There is currently no more elegant setup i experienced. if you are interested in my snapper script and other small maintenance tools, im happy to provide it as open source. hth, cheers, niels. — Niels Dettenbach https://www.syndicat.com https://www.syndicat.com/pub_key.asc
