On Sun, 16 Mar 2014 07:38:07 +0000 Dietmar Maurer <diet...@proxmox.com> wrote:
> 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. > So if this part: if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs' || $scfg->{type} eq 'glusterfs' || $scfg->{type} eq 'sheepdog' || $scfg->{type} eq 'rbd') { $write_zeros = 0; } is changed to: if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs' || $scfg->{type} eq 'glusterfs' || $scfg->{type} eq 'sheepdog' || $scfg->{type} eq 'rbd' || $scfg->{type} eq 'zfs') { $write_zeros = 0; } then this should be fixed? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: My mother was a test tube; my father was a knife. -- Friday
signature.asc
Description: PGP signature
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel