Re: Specify controller tid in targets.conf
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 16.06.2011 09:22, Fredrik Åslund wrote:
On Wed, 15 Jun 2011, Tomasz Chmielewski wrote:On 15.06.2011 16:53, Fredrik Åslund wrote:Is there a way to specify the tid of a target controller in targets.conf?There isn't any, it's just iterated at the moment.By default, tid 1 is used by tgt-admin. This means that all instances of tgtd at different servers will have the same SCSI ID (and SCSI SN), confusing iSCSI initiators (as VMware). This patch will allow targets.conf to include:It looks/works well, although interesting things can happen if one tries to set several targets with the same tid (or, add new etc.)... Can you also update the targets.conf.example file (comment + usage example)?Will this do?
Thanks! Signed-off-by: Tomasz Chmielewski <mangoo@xxxxxxxx> -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html