On 07/04/2014 09:44 PM, Douglas Gilbert wrote:
On 14-07-04 07:54 AM, Hannes Reinecke wrote:
SCSI-2 defines only up to 256 LUNs with a flat namespace.
My SCSI-2 draft (revision 10b from August 1989) only has
3 bit LUNs placed in byte 1 of the command block, in the top
3 bits. There are also things called LUNTARs and LUNTRNs
at the message level.
8 bit LUNs do ring a distant bell, perhaps after SCSI-2?
Yeah, you're right. SCSI-2 defines a 3-byte LUN; starting with SCSI-3 it
went to 64bit.
I'll be renaming them to 'sdev_lun8'.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html