Tuesday, November 04, 2008

How to recan an scsi disk on Linux

There are some usefull scripts.
1.http://www.garloff.de/kurt/linux/ rescan-scsi-bus.sh .This script could scan the scsi disk.

2. For ql FC devices, it's look strange.
I can't just use this script to rescan and discovery the new disk which attach to the server. I have to
Use this
# echo "scsi-qlascan" > /proc/scsi// (qlogic driver re-scans)where can be either one: qla2100/qla2200/qla2300 is the instance number of the HBA.

Before I use the
# echo "- - -" > /sys/class/scsi_host/host9/scan
To rescan the SCSI disk

I don't know the root reason of this. Any body help for this.

3. Just use the script which could be found from the ql website.
ql-dynamic-tgt-lun-disc.sh
support.qlogic.com/support/oem_product_detail.asp?p_id=934&oemid=284&oemname=QLE2460

Labels:


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]

Scrape It
Free Hit Counters
Scrape It