FreeBSD multi Lun detection query

Kenneth D. Merry ken at freebsd.org
Wed Apr 4 15:28:02 UTC 2012


On Wed, Apr 04, 2012 at 11:03:04 +0530, Desai, Kashyap wrote:
> Hi,
> 
> Our test team has one test case, where they need to verify multi lun detection by FreeBS8.2 OS.
> Here are the steps to reproduce.
> 
> Step 1: Configured Multi-Luns in RBOD (DOTHILL) and map to controller which is booted with FreeBSD
> Step 2: Issue the command "camcontrol rescan all" and "camcontrol dev"
> 
> Expected Result: the command should display all the configured luns
> 
> Actual Result: Only the first Lun is discovered
> 
> Note: When we issue explicit scan using "camcontrol rescan bus:target:lun", it detects that specific lun.
> 
> Query: How does FreeBSD detect multi luns ? Driver issue XPT_BUS_RESCAN and expect OS should detect both the luns.
> Is there any limitation associated with multi lun in FreeBSD ?

A couple of questions:

 - Do you have change 231716 in your version of the driver?  The max_lun
   field of the path inquiry CCB was set to 0, which disabled multiple LUN
   scanning.  I set it to 8, but in reality it needs to be set to the
   maximum LUN supported by the chip.

 - What LUN numbers do you have configured on the array?

Ken
-- 
Kenneth Merry
ken at FreeBSD.ORG


More information about the freebsd-scsi mailing list