Hello target_devel List I am a very great Fan and Tester of Lio-Target since 2 Years. Keep on you great working on this! Actually i have compiled the lio-core git commit dd9604b1a2558f4c7b8c9f29d0d7cd92ed74ff3e from 13.03.2012. I run in big Problems with the new(?) max_sectors Feature. Becaus lio rounding down my Sectors on an HD with 120GB. What is my Problem here ? Ive added the Disk via targetcli to an iblock backstore. My old compiles of lio-core from last Year working fine. Here are my Logs: The Disk root@winglet2k:/usr/local/src/lio-core-2.6# fdisk -l /dev/cciss/c0d1 Disk /dev/cciss/c0d1: 146.8 GB, 146778685440 bytes 255 heads, 32 sectors/track, 35132 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xdf00a009 Device Boot Start End Blocks Id System targetcli Attributes Output (no attributes modified) of the the whole disk (iblock/testdisk) (/dev/cciss/c0d1) /backstores/iblock/testdisk> get attribute ATTRIBUTE CONFIG GROUP block_size=512 The block_size attribute. emulate_dpo=0 The emulate_dpo attribute. emulate_fua_read=0 The emulate_fua_read attribute. emulate_fua_write=1 The emulate_fua_write attribute. emulate_rest_reord=0 The emulate_rest_reord attribute. emulate_tas=1 The emulate_tas attribute. emulate_tpu=0 The emulate_tpu attribute. emulate_tpws=0 The emulate_tpws attribute. emulate_ua_intlck_ctrl=0 The emulate_ua_intlck_ctrl attribute. emulate_write_cache=0 The emulate_write_cache attribute. enforce_pr_isids=1 The enforce_pr_isids attribute. fabric_max_sectors=8192 The fabric_max_sectors attribute. hw_block_size=512 [ro] The hw_block_size attribute. hw_max_sectors=4294967295 [ro] The hw_max_sectors attribute. hw_queue_depth=128 [ro] The hw_queue_depth attribute. is_nonrot=0 The is_nonrot attribute. max_sectors=8388600 The max_sectors attribute. max_unmap_block_desc_count=0 The max_unmap_block_desc_count attribute. max_unmap_lba_count=0 The max_unmap_lba_count attribute. optimal_sectors=8192 The optimal_sectors attribute. queue_depth=128 The queue_depth attribute. unmap_granularity=0 The unmap_granularity attribute. unmap_granularity_alignment=0 The unmap_granularity_alignment attribute. And also my relevant demsg output: [ 1936.317399] Rounding down aligned max_sectors from 4294967295 to 8388600 Thank you for this great Piece of Software/Kernel Module Stefan Gourguis -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html