hreinecke / sg3_utils

Deprecated git-svn mirror for sg3_utils
http://sg.danny.cz/sg/sg3_utils.html
Other
154 stars 91 forks source link

when do rescan-scsi-bus.sh show all targets in same line #80

Closed wubo009 closed 1 year ago

wubo009 commented 2 years ago

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

doug-gilbert commented 2 years 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.

wubo009 commented 2 years ago

@doug-gilbert This problem has already been solved. thanks.

hreinecke commented 1 year ago

Fixed with 1.48.