Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 22:46:37 +0200
From:      Daniel Kalchev <>
To:        Borja Marcos <>
Cc:        FreeBSD Filesystems <>,, Steven Hartland <>
Subject:   Re: Problem adding SCSI quirks for a SSD, 4K sector and ZFS
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On Jan 24, 2013, at 6:09 PM, Borja Marcos <> wrote:

> Oh, sorrry for the confusion! I assumed that the da driver would =
announce a 4 KB sector instead of the 512 bytes due to the quirks.=20
> Which  brings an interesting question, I might have a potential time =
bomb in my experimental machine at home. It's a ZFS mirror with two 500 =
MB disks. One of the has 512 byte sectors, the other is "advanced =

If you did not create your zpool with ashift=3D12, then you have the =
bomb already. Disks with different native sector size coexist quite =
happily in the same zpool. If the storage does not lie, ZFS will in fact =
use the largest 'sector size' and everything will be ok. Many (most) =
advanced format drives however lie about their sector size and pretend =
to have 512 byte sectors. If you create an zpool with such a drive and =
an 'normal' 512 byte drive without explicitly requesting 4k alignment, =
thing are bad.


Want to link to this message? Use this URL: <>