Gerry,
I'm not sure I understand the question. iSCSI doesn't talk to LUNs, it talks
to iSCSI targets. You address targets (by their IP address).
Advertising
Once you're talking to a target, iSCSI provides a path for SCSI to do its thing
with that target. One of the things SCSI (not iSCSI) does is ask the target to
"Report LUNs". For most storage devices, a list of LUNs comes back, and SCSI
will make each LUN it sees available as a Linux device. (EqualLogic is an
exception, it has just one LUN per target; but few targets, many more LUNs, is
the much more common pattern and Compellent follows that common pattern.)
The softlink you showed indicates that those LUNs are detected and mapped to
/dev/sdX Linux block devices, as expected.
One more point: Report LUNs will see the LUNs that the storage device wants you
to see. A lot of them do "LUN Masking" which means that only some LUNs are
visible to a given client, according to access control settings. If there are
20 LUNs, but LUN Masking is set so your client does not have permission to see
19 of them, then from your client only one LUN will appear in the Report LUNs
reply, and only one /dev/sdX will be created.
paul
> On Apr 11, 2018, at 7:24 AM, jmgerryobr...@gmail.com wrote:
>
> Hi,
>
> How do you address more than one LUN in a target? We are trying to connect
> from Debian Stretch to an iSCSI volume in a DellEMC Compellent SC5050 array.
> In the Compellents the targets are the WQNs for the controller interfaces not
> the volumes Individual iSCSI volumes are given LUN numbers, eg. LUN1, LUN2,
> etc. Is there any way in open-iscsi to address individual LUNs within a given
> target? If we reboot the server the individual LUNs are connected to by the
> Device Mapper and given individual /dev/disk/by-path entries with "-lin-N"
> suffix (see below). We can't find any way to get open-iscsi to discover
> individual LUNs when there is more than on LUN attached to a target.
>
> Can you help us please.
>
> Regards,
> Gerry
>
> /dev/disk/by-path/ip-10.32.141.10:3260-iscsi-iqn.2002-03.com.compellent:5000d310055ba23d-lun-4
> -> ../../sdz
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.