mario |
06-06-2021 04:44 PM |
rescan-scsi-bus weirdness on -current
Hi,
After running the script from subject, this is what I am now seeing:
Quote:
# lsscsi
[2:0:0:0] storage HP P420i 8.32 -
[2:0:0:4194240] storage HP P420i 8.32 - <--- this line is not supposed to be here
|
Basically, that 2nd line is not showing up after clean boot.
And this output is what prompt me that something is off:
Quote:
# rescan-scsi-bus
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0
1
2
3
4
5
6
7, all LUNs
Scanning host 1 for SCSI target IDs 0
1
2
3
4
5
6
7, all LUNs
Scanning host 2 for SCSI target IDs 0
1
2
3
4
5
6
7, all LUNs
sg1 changed: LU not available (PQual 3)
OLD: Host: scsi2 Channel: 01 Id: 00 Lun: 00
Vendor: HP Model: LOGICAL VOLUME Rev: 8.32
Type: Direct-Access ANSI SCSI revision: 05
sg2 changed: LU not available (PQual 3)
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 4194240
Vendor: HP Model: P420i Rev: 8.32
Type: RAID ANSI SCSI revision: 05
sg0 changed: LU not available (PQual 3)
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: P420i Rev: 8.32
Type: RAID ANSI SCSI revision: 05
Scanning host 3 for SCSI target IDs 0
1
2
3
4
5
6
7, all LUNs
0 new or changed device(s) found.
0 remapped or resized device(s) found.
0 device(s) removed.
|
It didn't use to look like that, and I've been using that script for at least a decade :)
Just throwing it out there, in case someone saw it and know what's wrong (before I find some time to deep dive in the code myself :)
|