[PVE-User] PVE 2.3 Ceph live backup

Alexandre DERUMIER aderumier at odiso.com
Sat Feb 16 18:23:21 CET 2013


patch sent to pve-devel mailing. (And I confirm that is working fine now with ceph :)



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-user at pve.proxmox.com 
Envoyé: Samedi 16 Février 2013 18:07:17 
Objet: Re: [PVE-User] PVE 2.3 Ceph live backup 

Yes, 
it's a bug, it's dying in PVE/VZDump/QemuServer.pm 


die "no such volume '$volid'\n" if ! -e $path; 

(as path is "virtual" for rbd,sheepdog,...) 

I think we should do like in API2/Qemu.pm: 



PVE::Storage::foreach_volid($dl, sub { 
my ($volumeid) = @_; 
if($volumeid eq $volid) { 
$foundvolid = 1; 
return; 
} 
}); 

die "image '$path' does not exists\n" if (!(-f $path || -b $path || $foundvolid)); 


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Fabrizio Cuseo" <f.cuseo at panservice.it>, pve-user at pve.proxmox.com 
Envoyé: Vendredi 15 Février 2013 19:02:41 
Objet: Re: [PVE-User] PVE 2.3 Ceph live backup 

> If i try to backup a VM (i only use qemu VMs), I only have the usuale choises 
> (snapshot, suspend, stop), and the backup fails with this error: 
> 
> INFO: starting new backup job: vzdump 104 --remove 0 --mode snapshot -- 
> compress lzo --storage mfscluster2 --node nodo03 
> INFO: Starting Backup of VM 104 (qemu) 
> INFO: status = running 
> ERROR: Backup of VM 104 failed - no such volume 'CephCluster:vm-104-disk- 
> 1' 
> INFO: Backup job finished with errors 
> TASK ERROR: job errors 

I guess this is a bug. 

_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 



More information about the pve-user mailing list