DroboPro iscsi & scsi generic
Brought to you by:
peter_silva
This patches fixes drobom status,info,etc, commands on the DroboPro running over open-iscsi. There are 2 subtle changes:
1. The parsing of inquiry data was incorrect see, the old parser used char[8],char[32],char[48] to parse inquiry, which is wrong. It should be char[8],char[8],char[16] (ignore, vendor, product) per http://en.wikipedia.org/wiki/SCSI_Inquiry_Command.
2. The block dev cannot be opened directly. Instead I open the assigned SG devices.
TODO: Listing the device as /dev/sgX does not really tell the user where the block device for the drobo is at. We should really do a lookup and print the block device.
DroboPro iscsi & scsi generic patch