[pve-devel] [PATCH pve-container] fix bug LXC Backup snapshot mode on zfspool

Wolfgang Link w.link at proxmox.com
Wed Nov 18 17:42:19 CET 2015


Not really.
It makes an shnapshot but can't mount the snapshot, but we get no error.
Try to mount a snapshot with this code.

> Dietmar Maurer <dietmar at proxmox.com> hat am 18. November 2015 um 17:38
> geschrieben:
> 
> 
> > now it is possible to make a snapshot and mount it to backup it.
> 
> This works for me without this patch? For example:
> 
> # pct config 102
> arch: amd64
> cpulimit: 1
> cpuunits: 1024
> hostname: fastboot
> memory: 1152
> net0: bridge=vmbr0,hwaddr=3A:ED:32:F0:51:6E,ip=dhcp,name=eth0,type=veth
> ostype: debian
> rootfs: subpool:subvol-102-disk-1,size=5G # this is a zfspool
> swap: 512
> 
> # vzdump 102 --mode snapshot
> INFO: starting new backup job: vzdump 102 --mode snapshot
> INFO: Starting Backup of VM 102 (lxc)
> INFO: status = running
> INFO: backup mode: snapshot
> INFO: ionice priority: 7
> INFO: create storage snapshot snapshot
> INFO: creating archive
> '/var/lib/vz/dump/vzdump-lxc-102-2015_11_18-17_35_42.tar'
> INFO: Total bytes written: 426680320 (407MiB, 32MiB/s)
> INFO: archive file size: 406MB
> INFO: remove vzdump snapshot
> INFO: Finished Backup of VM 102 (00:00:13)
> INFO: Backup job finished successfully




More information about the pve-devel mailing list