From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 23:32:16 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB9F276E; Thu, 11 Sep 2014 23:32:16 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B9DB685; Thu, 11 Sep 2014 23:32:15 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 14B671534C4; Fri, 12 Sep 2014 01:32:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XrxxrplX4k8e; Fri, 12 Sep 2014 01:32:01 +0200 (CEST) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 61D30153448; Fri, 12 Sep 2014 01:32:01 +0200 (CEST) Message-ID: <541230F1.3060402@digiware.nl> Date: Fri, 12 Sep 2014 01:32:01 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Peter Wemm , freebsd-stable@freebsd.org Subject: Re: getting to 4K disk blocks in ZFS References: <540FF3C4.6010305@ish.com.au> <54114029.3060507@FreeBSD.org> <2128347.Ah5i0RTCvp@overcee.wemm.org> In-Reply-To: <2128347.Ah5i0RTCvp@overcee.wemm.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Steven Hartland , Andriy Gapon , Aristedes Maniatis X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 23:32:16 -0000 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: 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-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 --WjW