[pve-devel] Restore from backup is not working properly

Dietmar Maurer dietmar at proxmox.com
Sun Mar 16 08:38:07 CET 2014


see write_zeroes at:

https://git.proxmox.com/?p=qemu-server.git;a=blob;f=PVE/QemuServer.pm;h=2093990a3245bf0071badf6f1fc264812c825bf1;hb=HEAD#l4113

restore need to know that the allocated file is initialized with zeroes.


> -----Original Message-----
> From: pve-devel [mailto:pve-devel-bounces at pve.proxmox.com] On Behalf
> Of Michael Rasmussen
> Sent: Samstag, 15. März 2014 15:44
> To: pve-devel
> Subject: [pve-devel] Restore from backup is not working properly
> 
> Hi all,
> 
> The restore from a backup is not working properly when dealing with sparse
> volumes.
> 
> VM created with 4G disk sparse
> Before backup:   Size 1.09G
> Backup:          Size 527M
> Restore:         Size 4.03G
> 
> This indicates that the resulting image is padded with 'NULLs' up to
> configured disk size.




More information about the pve-devel mailing list