> I was willing to use /dev/disk/by-path/ devices with an iSCSI setup when
> I figured out not all devices were available by path. I discovered that
> it was because my iSCSI target provided several LUNs, which are not
> reflected by path_id.
> 
> The attached patch solves the problem by appending the LUN to the path.

> -     d="ip-${iscsi_address}:${iscsi_port}-iscsi-${iscsi_tgtname}"
> +     iscsi_lun="${DEV##*:}"
> +     
> d="ip-${iscsi_address}:${iscsi_port}-iscsi-${iscsi_tgtname}:${iscsi_lun}"

We already have a fix in the SLES release with -lun- as the separator.
I'll commit this for the next udev version.

Thanks,
Kay



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to