Skip to content

Update SCSI scan command to improve compatibility #969

@P0lskay

Description

@P0lskay

Description:

When using the echo "0 0 -" > /sys/class/scsi_host/host0/scan command to scan for SCSI devices, we encounter an issue with Trident and other provisioners that utilize the scsi_host interface. Specifically, using this command, it becomes impossible to use Trident in conjunction with other provisioners that use scsi_host.

Problem:

The 0 0 - command scans only the devices connected to the specified controller number and target number, which limits the scope of the scan. However, this limitation causes issues with Trident and other provisioners.

Proposal:

To resolve this issue, we propose changing the scan command to echo "- - -" > /sys/class/scsi_host/host0/scan. This command scans all devices connected to the scsi_host interface, regardless of controller number and target number, which should allow Trident to coexist with other provisioners that use scsi_host. As an example, we can use ibm provisioner.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions