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:
parent
084faf9903
commit
6a1d82c8cd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue