ZFS & vzdump

dlasher

Renowned Member
Mar 23, 2011
233
24
83
ok, I know I must be missing something obvious, but I can't make vzdump work well with ZFSonLinux (Same box solution). When I first ran into this, I figured, "I'll just enable snapshots on the ZFS side, and forget the backups", but now, 12 months later, I'd actually like to try to solve it.

vzdump can't snapshot without LVM, so no snapshot.
vzdump can't suspend without LVM, so no suspend.
vzdump can only stop the VM, which leaves it down for, sometimes a lengthy period, depending on the size of the image.

I'm 100% happy with ZFSonLinux, it's given me everything i wanted in terms of IO performance, reliability, etc.. Now if I could just get snapshots to work with vzdump.

I even considering going with some form of LVM on top of a ZVOL, but I'm not sure if I want that much risk.. (and I don't especially like LVM anyway)

I'm curious what other people are doing? Ideas?


root@pmx7:~# pveversion -v
proxmox-ve-2.6.32: 3.3-147 (running kernel: 2.6.32-37-pve)
pve-manager: 3.3-20 (running version: 3.3-20/d0640ef1)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-37-pve: 2.6.32-147
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-2
pve-cluster: 3.0-16
qemu-server: 3.3-18
pve-firmware: 1.1-3
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-30
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-12
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

ZFS: Loaded module v0.6.3-1.2, ZFS pool version 5000, ZFS filesystem version 5
 
There is currently no plan to support openvz snapshot backup with zfs (zfs is not
on the list of supported file system for OpenVZ).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!