4 May
2017
4 May
'17
8:13 a.m.
If we want to permit more than 255 drives to be added, then we will have to add the disks to the same virtio-scsi target using different unit (LUN) numbers. Unfortunately SCSI LUN enumeration in the Linux is not deterministic (eg. two disks with target=0, lun=[0,1] can be enumerated as /dev/sda or /dev/sdb randomly). Dealing with that will require some very complex device name translation on the way in and out of the appliance. This commit does _not_ do any of that, but it lays the groundwork so we could do that in future if the need arises. Rich.