You mean the CDB dump for a LUN that has no issues?
Here it is:
# /usr/bin/sg_luns -d -vv /dev/sdm open /dev/sdm with flags=0x802 report luns cdb: a0 00 00 00 00 00 00 00 20 00 00 00 report luns: requested 8192 bytes but got 24 bytes Lun list length = 16 which imples 2 lun entries
Output response in hex 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 10 00 03 00 00 00 00 00 00 Report luns [select_report=0]: 0000000000000000 Peripheral device addressing: lun=0 0003000000000000 Peripheral device addressing: lun=3
It looks really different, comparing to what RedHat's KB says ..
On Thu, Oct 15, 2015 at 7:15 AM, andrei.borzenkov@ts.fujitsu.com andrei.borzenkov@ts.fujitsu.com wrote:
If you convert LUN number in hex it is 0x400000. It actually looks like LUN 0, returned in flat addressing format that for some reason gets misinterpreted by Linux. I'd love to see dump of actual CDB on Linux side.