Closed wubo009 closed 1 year ago
There has been work done on that script. Could you check https://github.com/doug-gilbert/sg3_utils/blob/master/scripts/rescan-scsi-bus.sh to see if this problem has already been solved.
@doug-gilbert This problem has already been solved. thanks.
Fixed with 1.48.
before:
rescan-scsi-bus.sh
Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs sg0 changed: LU not available (PQual 3) OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: QEMU Model: QEMU HARDDISK Rev: 2.5+ Type: Direct-Access ANSI SCSI revision: 05
after:
rescan-scsi-bus.sh
Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs sg0 changed: LU not available (PQual 3) OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: QEMU Model: QEMU HARDDISK Rev: 2.5+ Type: Direct-Access ANSI SCSI revision: 05
Signed-off-by: Wu Bo wubo.linux@gmail.com