[PVE-User] PVE 2.3 Ceph live backup

Alexandre DERUMIER aderumier at odiso.com
Sat Feb 16 18:07:17 CET 2013


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 



More information about the pve-user mailing list