On 07/24/2012 10:51 AM, Chris Boot wrote: > On 24/07/2012 18:23, Andy Grover wrote: >> So, a "1394:device" is equivalent to a "lio:target", and a 1394:target >> is equivalent to a lio:lun, I believe. > > No: a "1394:target" is more like a TPG, it can have several LUNs. > Really, you have a 1394:device that can contain several > 1394:unit_directory, each of which could be an SBP target or something > else (an audio device for example). The 1394:unit_directory for an SBP > target can export one or more LUNs. AHH, ok. I am more enlightened. But it all starts with the 1394:device, right? If I have two 1394 cards A and B in a system, they should each be created in LIO as two different lio:targets using /sys/bus/firewire/devices/fwX/guid (since lio:target <-> 1394:device) and only those where ./is_local == 1 (in kernel 3.6+) Next I'd create a tpg (tpg1) for A, and this would create a 1394:unit_directory of type "sbp target" on A. Then I'd map storageobjects to tpg1, and this would add the LUNs to the 1394:unit_directory. I plug in to a port on card A, I see the LUNs. I plug in to a port on card B, I get nothing. Yes? Thanks -- Regards -- Andy -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html