AF (4096 byte sector) drives: Can you mix/match in a ZFS pool?

Artem Belevich art at freebsd.org
Wed Oct 12 17:43:24 UTC 2011


On Wed, Oct 12, 2011 at 10:29 AM, Jeremy Chadwick
<freebsd at jdc.parodius.com> wrote:
> How does ZFS determine this?  I was under the impression that this
> behaviour was determined by (or "assisted by") ashift.
>
> Surely ZFS cannot ask the underlying storage provider (e.g. GEOM on
> FreeBSD) what logical vs. physical sector size to use (e.g. for SATA
> what's returned in the ATA IDENTIFY payload), because on SSDs such as
> Intel SSDs *both* of those sizes are reported as 512 bytes (camcontrol
> identify confirms).

In r222520 mav@ added ADA_Q_4K quirks for bunch of Hitachi, Seagate
and WD drives so that geom_disk will be aware of 4K sectors at least
for some disks.
I'm not sure whether ZFS picks it up, though.

--Artem


More information about the freebsd-fs mailing list