lkml.org 
[lkml]   [2003]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectProblem created by Zoning on Linux
Date
Hi,
We are trying to create zoning (IO fencing) on our storage device.
The zoning is to be done on the LUN basis, so that a particular HBA will
accesses the only those LUNs which are assigned to it.

We have two HBA cards residing on different Hosts.

We have created 8 LUNs (from 0 to 7).
Now we want to give access to only 4 LUNs from each HBA card.

So we have given access to LUN 0 to 3 from HBA card 1.
Also LUN 4 to 7 is to be accessed from HBA card 2.

When we did the above, we observed that the Host, which has access to LUN 0
to 3, is working fine. i.e. its /proc/scsi/scsi is showing entries
corresponding to LUN 0 to 3. Also 4 scsi devices are created & can be viewed
in /proc/partitions.

But the second Host, which should have access to LUN 4 to 7, has some
problem.
The /proc/partitions does not show any scsi device file. Also
/proc/scsi/scsi does not entries corresponding to LUN 4 to 7; but it have
only one entry corresponding to LUN 0 (which should not be allowed).

So, is there any restriction on Linux that the LUN number should start with
0 only??
If so, then what is the solution/workaround?

Thanks and Regards
Chandrasekhar


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.020 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site