[pve-devel] [PATCH] fix #1033 storage mig on LVMThin add die.
Wolfgang Link
w.link at proxmox.com
Fri Jun 17 14:28:15 CEST 2016
This is necessary to ensure the process will proper finished.
---
PVE/Storage.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index bb35b32..011c4f3 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -569,6 +569,7 @@ sub storage_migrate {
if (my $err = $@) {
run_command(['/usr/bin/ssh', "root\@${target_host}",
'pvesm', 'free', $target_volid]);
+ die $err;
}
} else {
die "$errstr - migrate from source type '$scfg->{type}' to '$tcfg->{type}' not implemented\n";
--
2.1.4
More information about the pve-devel
mailing list