- Home
- Hardware
- Software
- Business Continuity
- Business Continuity Manager
- CCI
- Copy-on-Write Snapshot
- Hitachi Backup Services Manager
- Hitachi Data Protection Suite
- Hitachi Data Retention Utility
- Hitachi Dynamic Link Manager
- Hitachi Protection Manager
- Hitachi Replication Manager
- Hitachi ShadowImage In-System Replication
- Hitachi TrueCopy Remote Replication
- Hitachi Universal Replicator
- Hitachi Virtual Tape Library
- IBM Flashcopy replication
- PAV/HPAV
- XRC Replication
- Storage Management
- Basic Operating System
- Basic Operating System V
- Hitachi Device Manager
- Hitachi Tuning Manager
- Hitachi Replication Manager
- Hitachi Global Link Manager
- Hitachi Dynamic Provisioning
- Hitachi Tiered Storage Manager
- Performance Monitor
- Resource Monitor
- Server Priority Manager
- Storage Capacity Reporter
- Hitachi Command Director
- Storage Navigator Modular 2
- Storage Services Manager
- Universal Volume Manager
- Virtual Partition Manager
- Operating Systems
- Business Continuity
- Solutions
- Education
- Forums
Rescan devices in Linux OS without reloading the Linux driver with Qlogic HBA's?
Can devices be rescanned in Linux OS without reloading the Linux driver?
A new LUN was added to the storage, but the LUN cannot be seen by the driver or the OS. Rebooting or reloading the driver would be too disruptive.
There is a procedure which forces the driver to rescan the targets to allow a new device to be added. This triggers the driver to initiate a LUN discovery process.
To force a rescan from the command line, type the following command:
# echo "scsi-qlascan" > /proc/scsi//
Where:
- = qla2100, qla2200, qla2300 (2.4 kernel drivers) or qla2xxx (2.6 kernel drivers)
- = the instance number of the HBA
After executing this command, force the SCSI mid layer to do its own scan and build the device table entry for the new device by typing the following command:
# echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
Where:
- "0 1 2 3" = your "Host Channel ID LUN"
The scanning must be done in the above mentioned order: first the driver (qla2300/qla2200 driver, etc.), and then the Linux SCSI mid layer (i.e. OS scan).
Operating Systems:
Linux Red Hat
Linux SUSE