[pve-devel] [PATCH pve-storage] migrate: use -p on 'zfs send' to include properties
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Oct 15 09:41:09 CEST 2015
Fixes #769
---
PVE/Storage.pm | 2 +-
1 file changed, 1 insertion(+), 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);
--
2.1.4
More information about the pve-devel
mailing list