On Wed, Nov 21, 2012 at 1:29 PM, Timothy Coalson <tsc...@mst.edu> wrote:

> On Wed, Nov 21, 2012 at 4:45 AM, Eugen Leitl <eu...@leitl.org> wrote:
>> A couple questions: is there a way to make WD20EFRX (2 TByte, 4k
>> sectors) and WD200FYPS (4k internally, reported as 512 Bytes?)
>> work well together on a current OpenIndiana? Which parameters
>> need I give the zfs pool in regards to alignment?
> There is a way, but you don't give the parameters to zfs, see
> http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks"Overriding
>  the Physical Sector Size".

Actually, you may not even need to do that, if the vdev specification
contains some disks that report 512 sectors and some that report 4k
sectors, it will use 4k sector alignment on all devices in that vdev.  So,
as long as each vdev you make has at least one EFRX in it, you will get
ashift=12, which is what you want.

zfs-discuss mailing list

Reply via email to