From 6a1d82c8cd1779e1a04bd383bcbb2e86903e971c Mon Sep 17 00:00:00 2001 From: sontru Date: Fri, 16 Oct 2020 16:24:37 +0100 Subject: [PATCH] Update ZFSPlugin.pm.patch Full path added to multipath command. Also need to install this tool: apt install multipath-tools --- perl5/PVE/Storage/ZFSPlugin.pm.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl5/PVE/Storage/ZFSPlugin.pm.patch b/perl5/PVE/Storage/ZFSPlugin.pm.patch index a81f0d9..8fadf60 100644 --- a/perl5/PVE/Storage/ZFSPlugin.pm.patch +++ b/perl5/PVE/Storage/ZFSPlugin.pm.patch @@ -129,7 +129,7 @@ + sleep 3; + run_command("iscsiadm -m session --rescan"); + sleep 3; -+ my $line = `multipath -ll | grep \"$wwid_end\"`; ++ my $line = `/usr/sbin/multipath -ll | grep \"$wwid_end\"`; + my ($mapper_device) = split(' ', $line); + $mapper_device = "" unless $mapper_device; + $mapper .= $mapper_device;