Linux Archive

Linux Archive (
-   Debian User (
-   -   Problems scanning past LUN 7 during boot (

Anders Nordby 01-10-2008 09:08 AM

Problems scanning past LUN 7 during boot

I have a QLA2432 dual path fibre channel adapter connected with two
links to a Hitachi SAN. I run Debian GNU/Linux 4.0 (etch) with 2.6.18
(64-bit) kernel. Firmware is firmware-qlogic 0.4 from Debian stable
repository ( The driver
version in the kernel I use seems to be: QLogic Fibre Channel HBA
Driver: 8.01.07-k1.

Now, my problem is scanning past LUN 7. I can see disks with LUN up to 7
just fine. Also I can manually add LUNS with this command:

echo "scsi add-single-device 0 0 0 8" >/proc/scsi/scsi
echo "scsi add-single-device 0 0 1 8" >/proc/scsi/scsi

This adds LUN 8 on both links.

But how do I add scanning past LUN 7 in a proper way so that its done
during boot? I want to be able to reboot and get all LUNs scanned in
time for LVM to be able to use all disks without manual intervention.

I tried adding max_scsi_luns=<n> as a kernel option in the grub setup,
but it did not help.

Any ideas?



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

All times are GMT. The time now is 06:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.