LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2021, 04:44 PM   #1
mario
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware
Posts: 26

Rep: Reputation: 16
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

Last edited by mario; 06-06-2021 at 04:45 PM. Reason: Added quotes
 
Old 06-06-2021, 05:04 PM   #2
mario
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware
Posts: 26

Original Poster
Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI - Remove/Rescan vs. Rescan khhyle Linux - Kernel 1 04-28-2017 08:51 AM
PCI - Remove/Rescan vs. Rescan khhyle Linux - Hardware 1 04-27-2017 03:50 PM
Rescan SCSI bus in RHEL 5.8 RHCE_ran Linux - Enterprise 6 04-07-2015 09:43 AM
rescan-scsi-bus -l davimint Linux - Hardware 1 04-23-2007 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration