>>>>> "Ted" == Theodore Ts'o <[email protected]> writes:

Ted,

Ted> sg_readcap doesn't report the physical sector size, just the
Ted> logical block size:

Ted> # sg_readcap /dev/sdd
Ted> Read Capacity results:
Ted>    Last logical block address=4000797359 (0xee7752af), Number of
Ted>    blocks=4000797360 Logical block length=512 bytes
Ted> Hence:
Ted>    Device size: 2048408248320 bytes, 1953514.3 MiB, 2048.41 GB

You need to run sg_readcap with the -l option to get to the physical
block size exponent. Please let us know if that makes a difference.

-- 
Martin K. Petersen      Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to