svn commit: r216230 -
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Bruce Cran
bruce at cran.org.uk
Mon Dec 6 21:16:09 UTC 2010
On Mon, Dec 06, 2010 at 09:31:39PM +0100, Ivan Voras wrote:
> For what it's worth, apparently linux has the concept of "physical"
> and "logical" sector sizes (possibly in addition to "stripe size"),
> with physical being 4096 and logical 512, for example:
>
> # hdparm -I /dev/sde | grep size
> Logical Sector size: 512 bytes
> Physical Sector size: 4096 bytes
> device size with M = 1024*1024: 1430799 MBytes
> device size with M = 1000*1000: 1500301 MBytes (1500 GB)
So do we, except they're both the same for Advanced Format drives:
# camcontrol identify /dev/ada1
...
device model WDC WD10EARS-00Z5B1
...
sector size logical 512, physical 512, offset 0
I don't know if Linux has a quirks list that 'corrects' the physical
sector size?
--
Bruce Cran
More information about the svn-src-head
mailing list