Update ZFSPlugin.pm.patch

Full path added to multipath command.
Also need to install this tool: apt install multipath-tools
This commit is contained in:
sontru 2020-10-16 16:24:37 +01:00 committed by GitHub
parent 084faf9903
commit 6a1d82c8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;