On 04/27/2016 02:40 PM, Bryant G Ly wrote:
Side Question: I am using target_submit_cmd to handle emulation of report_luns and mode_sense but I can't seem to get the correct data reported back to the client(initiator).
It would help if you could provide a hex dump of the data that is sent back to the initiator. If the initiator is an AIX system then you will either need to ensure that LUN numbers are a multiple of 256 or add code to the LIO core that translates LUN numbers from the peripheral addressing method to the LUN addressing method. AIX namely expects the latter. See also paragraph "Logical Unit Number (LUN) / Addressing Methods" in SAM for more information.
Bart. -- 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