From 323ab5baa8d8b70238561f3053d381005f090a27 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 15 Oct 2015 09:41:09 +0200 Subject: [PATCH] fix bug #769: migrate: use -p on 'zfs send' to include properties --- PVE/Storage.pm | 2 +- changelog.Debian | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index eb31a4a..7c99cad 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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); diff --git a/changelog.Debian b/changelog.Debian index 4c328fe..abf72ca 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -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 Mon, 12 Oct 2015 06:54:09 +0200 libpve-storage-perl (4.0-26) unstable; urgency=medium