]> git.proxmox.com Git - pve-storage.git/commitdiff
fix bug #769: migrate: use -p on 'zfs send' to include properties
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 15 Oct 2015 07:41:09 +0000 (09:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 15 Oct 2015 08:33:34 +0000 (10:33 +0200)
PVE/Storage.pm
changelog.Debian

index eb31a4a25a2cc3bf387c28ab984c79ce880a96e8..7c99cad9c317f035e4c495853e6ddd018755db64 100755 (executable)
@@ -510,7 +510,7 @@ sub storage_migrate {
 
            my $snap = "zfs snapshot $zfspath\@__migration__";
 
-           my $send = "zfs send -v $zfspath\@__migration__ \| ssh root\@$target_host zfs recv $zfspath";
+           my $send = "zfs send -pv $zfspath\@__migration__ \| ssh root\@$target_host zfs recv $zfspath";
 
            my $destroy_target = "ssh root\@$target_host zfs destroy $zfspath\@__migration__";
            run_command($snap);
index 4c328fe9a6e4ee0dcd9fed872b5eb92647b905ac..abf72ca007f428dd2a6ff0f48b12dc3d499ddd84 100644 (file)
@@ -2,6 +2,8 @@ libpve-storage-perl (4.0-27) unstable; urgency=medium
 
   * allow to choose content type for local storage
 
+  * fix bug #769: migrate: use -p on 'zfs send' to include properties
+
  -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Oct 2015 06:54:09 +0200
 
 libpve-storage-perl (4.0-26) unstable; urgency=medium