Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 09:17:19 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Willem Jan Withagen" <wjw@digiware.nl>, "Peter Wemm" <peter@wemm.org>, <freebsd-stable@freebsd.org>
Cc:        Andriy Gapon <avg@freebsd.org>, Aristedes Maniatis <ari@ish.com.au>
Subject:   Re: getting to 4K disk blocks in ZFS
Message-ID:  <EC1EE440B161449CA1A578DBCCEEA274@multiplay.co.uk>
References:  <540FF3C4.6010305@ish.com.au> <A0A549F7A4094F519A3660697AB4983F@multiplay.co.uk> <54114029.3060507@FreeBSD.org> <2128347.Ah5i0RTCvp@overcee.wemm.org> <541230F1.3060402@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Willem Jan Withagen" <wjw@digiware.nl>


> On 11-9-2014 19:49, Peter Wemm wrote:
>>> Another downside is 1/4th of uberblocks, 32 vs 128.
>>> Also, automatic sector size detection works great for me and I've never had
>>> a need to manually tweak ashift.
>> 
>> Unfortunately, I have.  Same drive connected two different ways:
>> 
>> da12 at mps1 bus 0 scbus1 target 11 lun 0
>> da12: <ATA ST4000VN000-1H41 SC43> Fixed Direct Access SCSI-6 device 
>> da12: 600.000MB/s transfers
>> da12: Command Queueing enabled
>> da12: 3815447MB (7814037168 512 byte sectors: 255H 63S/T 486401C)
>> 
>> ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
>> ada1: <ATA ST4000VN000-1H41 SC43> ATA-8 SATA 3.x device
>> ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
>> ada1: Command Queueing enabled
>> ada1: 3815447MB (7814037168 512 byte sectors:  16H 63S/T 16383C)
>> ada1: quirks=0x1<4K>
>> 
>> The 4k flag is missing when it's on the sas controller.  The Ident strings are 
>> changed.
>> 
>> This came up elsewhere recently.
> 
> I reported the same fact for the new set of WD REDs I installed.
> Seems that ada and da have different quirks tables...
> So disks on SATA connectors on the motherboard are diagnosed as being 4Kb.
> The disks on my twa don't get the quirk and are considered 512b

LMK the ident strings and I'll look to update the quirks tables.

    Regards
    Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC1EE440B161449CA1A578DBCCEEA274>