LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rescan-scsi-bus weirdness on -current (https://www.linuxquestions.org/questions/slackware-14/rescan-scsi-bus-weirdness-on-current-4175696094/)

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 :)

mario 06-06-2021 05:04 PM

Quote:

# rescan-scsi-bus --forcerescan
Syncing file systems
Scanning SCSI subsystem for new devices and remove devices that have disappeared
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)
REM: Host: scsi2 Channel: 01 Id: 00 Lun: 00
Vendor: HP Model: LOGICAL VOLUME Rev: 8.32
DEL: Type: Direct-Access ANSI SCSI revision: 05

sg2 changed: LU not available (PQual 3) leep: Input/output error
REM: Host: scsi2 Channel: 00 Id: 00 Lun: 4194240
Vendor: HP Model: P420i Rev: 8.32
DEL: Type: RAID ANSI SCSI revision: 05

Scanning for device 2 0 0 0 ... /usr/bin/sleep: Input/output error
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: P420i Rev: 8.32
Type: RAID ANSI SCSI revision: 05
It's a dangerous operation, yet it worked before without all these IO errors.


All times are GMT -5. The time now is 02:33 PM.