On 15 April 2016 at 22:19, TK (Tzung-Kwang) Wang-SSI <tk.wang@xxxxxxxxxxxxxxx> wrote: > That shows 512 instead of 520, > > # cat /sys/block/sdb/queue/logical_block_size > 512 > # sg_readcap /dev/sdb > Read Capacity results: > Last logical block address=918552575 (0x36bfffff), Number of blocks=918552576 > Logical block length=520 bytes > Hence: > Device size: 477647339520 bytes, 455520.0 MiB, 477.65 GB In that case I'd say the issue you're seeing is within the kernel rather than in fio - the kernel block device is going to refuse userspace accesses that aren't multiples of 512. Possibly raw SCSI commands would work? Is there anything in dmesg about "unsupported sector size" (see https://github.com/torvalds/linux/blob/v4.5/drivers/scsi/sd.c#L2292 for the check that provokes that message)? -- Sitsofe | http://sucs.org/~sits/ -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html