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)? -- 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