Skip to content

Commit

Permalink
Updates scsi rescan to use the LUN number in rescan command (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
delldubey authored Jul 18, 2024
1 parent bf2b472 commit cacb47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fc.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func (fc *FCConnector) findHCTLsForFCHBA(
if needFullRescan {
// at least one target port not found, do full scsi rescan
hctlsToRescan = []scsi.HCTL{{
Host: hostDev, Lun: "-",
Host: hostDev, Lun: lun,
Channel: "-", Target: "-",
}}
} else {
Expand Down

0 comments on commit cacb47e

Please sign in to comment.