-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SCSI scan command to improve compatibility #969
Comments
We are waiting for changes in the next release. |
Can you kindly elaborate on how "0 0 -" is affecting a) Trident and b) Other provisioners. For Trident case, Can you please share more info? Is controller number different than 0 and target number different from 0? In all our observed cases both are 0 and thus we are going with this specific scan rather than a blanket scan (i.e. - - -) |
@VinayKumarHavanur `[3:0:0:5] disk IBM 2145 0000 /dev/sde [3:0:0:23] disk IBM 2145 0000 /dev/sdf [3:0:0:57] disk IBM 2145 0000 /dev/sdg [3:0:0:76] disk IBM 2145 0000 /dev/sdh [3:0:1:0] disk IBM 2145 0000 /dev/sdi [3:0:1:4] disk IBM 2145 0000 /dev/sdj [3:0:5:0] disk NETAPP 2145 0000 /dev/sdk` You can see that the Netapp device has a target number of 5. I think we shoud just use another scanCmd: "- - {LUN ID}" (as an example, an ibm solution) |
We are working on a change where we plan to scan with the targetID and LUN ID. Say, "- ". |
@VinayKumarHavanur |
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.
The text was updated successfully, but these errors were encountered: