Re: Repartition Proxmox to make a ZFS slice
I didn't find that KVM guests to be much of a problem on ZFS. You have to set the write back cache option for the drive image. There are some tuning issues to get the fsync rate acceptable that's about it.
My main problem is I can't figure out how to get live migration working. I had a bad experience with DRBD recently on Proxmox, so I am looking for alternatives. I can have a zfs volume replicate pretty fast to another server using zfs send and zfs recv, similar to described in this blog post http://cuddletech.com/blog/pivot/entry.php?id=984 but I can't figure out how to suspend the running VM, and start it on the other server without rebooting the suspended VM. I know that not a ZFS issue, just part of the overall picture.
What I am trying to achieve is a method of live migration that uses reasonably fast replication rather than shared storage which could be seen as a single point of failure. It doesn't matter to me that a VM is suspended for the time it takes ZFS to replicate recent changes, it's does matter if I have to use the current offline migration which takes a very long time to export a backup archive, transfer it, and import it.
How is this going for everyone?
I am VERY interested in this as my proxmox server doubles at the houses file server. I am interested/concerned about performance, but testing so far is not scaring me off (test box)
You could always create a block device in a zpool and them make that an LVM for KVM guests to use and then use zfs on the rest of the pool. If indeed guest VMs aren't liking being on a ZFS file system.
Then use a ZFS file system for storing backups etc.
I didn't find that KVM guests to be much of a problem on ZFS. You have to set the write back cache option for the drive image. There are some tuning issues to get the fsync rate acceptable that's about it.
My main problem is I can't figure out how to get live migration working. I had a bad experience with DRBD recently on Proxmox, so I am looking for alternatives. I can have a zfs volume replicate pretty fast to another server using zfs send and zfs recv, similar to described in this blog post http://cuddletech.com/blog/pivot/entry.php?id=984 but I can't figure out how to suspend the running VM, and start it on the other server without rebooting the suspended VM. I know that not a ZFS issue, just part of the overall picture.
What I am trying to achieve is a method of live migration that uses reasonably fast replication rather than shared storage which could be seen as a single point of failure. It doesn't matter to me that a VM is suspended for the time it takes ZFS to replicate recent changes, it's does matter if I have to use the current offline migration which takes a very long time to export a backup archive, transfer it, and import it.
Last edited: