Re: Automatic LUN detectioning not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-11-06 at 11:07 +0200, Jaco van der Schyff wrote:
> Hi,
> 
> I wonder if you guys might be able to help.  Automatic LUN detection
> does not seem to be functioning on my kernel despite all my efforts to
> persuade it otherwise. (Kernel 2.6.17.6, although I tried newer versions
> aswell...)
> 
> CONFIG_SCSI_MULTI_LUN=y is set in my kernel config, and I am passing
> max_luns=12 as kernel parameter.  The scsi system is _not_ compiled as a
> module, and my HBA is in Adaptec 3930A-R, (aic79xx)
> 
> Once the system has booted, I can force it to detect all luns with:
> 
> echo "0 0 1" > /sys/class/scsi_host/host[x]/scan
> echo "0 0 2" > /sys/class/scsi_host/host[x]/scan
> echo "0 0 3" > /sys/class/scsi_host/host[x]/scan
> 
> I have a hardware RAID array connected to the HBA which maps 4 x 1TB
> slices to LUNS[0-3].
> 
> Like I said the kernel is only interested in LUN0 for some reason...
> 
> Any way I can ask my kernel to detect all LUNs at startup?

Hi,

what probably is needed is to teach the kernel about your array and to
make the kernel either scan all luns or ask the device which luns it
has.
Can you post the /proc/scsi/scsi entry for your array ? (only for the
LUN0 is enough); that information is going to be needed to make a
special entry for your array with either of the two behaviors..

Greetings,
  Arjan van de Ven
-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux