[Stgt-devel] Some general questions about tgt
Wed Jan 9 14:23:15 CET 2008
Robin Humble wrote:
> On Thu, Jan 03, 2008 at 11:55:04AM +0200, Erez Zilber wrote:
>> 3. If the same lun is connected with 2 FC cables, you'll see that
>> device twice. Is there any mechanism for preferred path? If not,
>> is there any plan to do that in the near future?
> under tgt with dm-multipath across FC targets, or over tgt with
> dm-multipath across iSCSI/iSER targets would suffice?
> I think dm-multipath has preferred paths - maybe with prio_callout's.
We've used dm-multipath only on the initiator side so far, so I just
want to make sure: usually, when I add a device to a target (using
tgtadm), I use something like /dev/sdX. Can I do something like the
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/dm0
If it's ok and you can also set a preferred path, this could be good enough.
Another question - did you actually try to run tgt with dm devices? Did
you face any problems?
More information about the stgt