Remove multipathd (use existing multipath)

This commit is contained in:
NojuHD
2025-02-07 13:57:24 +01:00
committed by GitHub
parent 4f3f2d081d
commit 7bb26c2a7b
+1 -3
View File
@@ -40,7 +40,6 @@ my $DEBUG = 0;
my $cmd = {
iscsiadm => '/usr/bin/iscsiadm',
multipath => '/sbin/multipath',
multipathd => '/sbin/multipathd',
blockdev => '/usr/sbin/blockdev'
};
@@ -192,8 +191,7 @@ sub scsi_rescan_device {
close $rescan;
}
}
my $param = qq{ -k"resize map $wwid"};
exec_command( [ $cmd->{ multipathd } . $param ], 1 );
exec_command( [ $cmd->{ multipath }, '-r', $wwid ], 1 );
}
### Block: Pure Storage subroutines