[stgt] [PATCH 1/2] tgt-admin: check if direct-device exists before allocating it
mangoo at wpkg.org
Fri Sep 12 14:13:34 CEST 2008
ronnie sahlberg schrieb:
> On Fri, Sep 12, 2008 at 6:30 PM, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>> ronnie sahlberg schrieb:
>>> On Fri, Sep 12, 2008 at 12:25 AM, Tomasz Chmielewski <mangoo at wpkg.org>
>>>> I will if it's not fixed when I send a bigger patch.
>>>> To not duplicate work, the changes I'm working on currently are:
>>>> - allow setting write caching per lun,
>>>> - allow setting scsi_id, scsi_sn, product_id etc. other parameters, per
>>>> - useful if one uses multipathd, but not only
>>>> Any users of these features out there?
>>> Excellent. I will use these features!
>>> I would also like to be able specify the LUN for each backingstore,
>>> not just that they always start at 1 and increment one by one.
>> Yeah, I was thinking about this too.
>> It will be needed if we want to have a predictable lun numbering when:
>> - more than one lun/backing-store is used
>> - they have different parameters set
>> However, this feature will be added later.
>>> I would like to specify the device type to use for each backingstore.
>>> It currently assumes everything is a disk device.
>> What --params= is needed here?
Am I correct that it will only work on lun creation, i.e.:
tgtadm --lld iscsi --mode logicalunit --op new --tid 5 --lun 1 -b /dev/sda --device-type=cd
But it's not possible to "update" it?
tgtadm --lld iscsi --op update --mode logicalunit --tid 4 --lun=1 --device-type=disk
We still have:
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt