1# This is the output (in hex) of the SCSI REPORT ZONES command 2# from a simulated ZBC device from the scsi_debug driver in Linux. 3# The parameters to the scsi_debug driver given to modprobe were: 4# dev_size_mb=512 zbc=managed zone_size_mb=128 zone_nr_conv=1 5# 6# The hex bytes in this file were generated by: 7# sg_rep_zones /dev/sg1 -HHH > /tmp/rep_zones.hex 8# where /dev/sg1 was a scsi_debug device. 9 10# An example invocation: 11# sg_rep_zones --inhex=rep_zones.hex 12 13 14# parameter data header (64 bytes) 1500 00 01 00 00 00 00 00 00 00 00 00 00 0f ff ff 1600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 20# first zone descriptor, zone type: conventional 2101 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 2200 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff 2300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25# second zone descriptor, zone type: sequential write required 2602 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 2700 00 00 00 00 04 00 00 00 00 00 00 00 04 00 00 2800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30# third zone descriptor, zone type: sequential write required 3102 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 3200 00 00 00 00 08 00 00 00 00 00 00 00 08 00 00 3300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35# fourth and last zone descriptor, zone type: sequential write required 3602 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 3700 00 00 00 00 0c 00 00 00 00 00 00 00 0c 00 00 3800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40