From owner-freebsd-stable@FreeBSD.ORG Fri Sep 12 17:23:43 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34AC9773; Fri, 12 Sep 2014 17:23:43 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D461FE5E; Fri, 12 Sep 2014 17:23:42 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id s8CHNGCA035683; Fri, 12 Sep 2014 13:23:16 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <54132C13.6060605@sentex.net> Date: Fri, 12 Sep 2014 13:23:31 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Steven Hartland , Willem Jan Withagen , 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> <541230F1.3060402@digiware.nl> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.74 Cc: 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: Fri, 12 Sep 2014 17:23:43 -0000 On 9/12/2014 4:17 AM, Steven Hartland wrote: >> >> 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. How does it work for controllers like mfi ? The disks come up as mfisyspd# They are supposedly 4K drives (when attached to ada). If I set vfs.zfs.min_auto_ashift=12 will it "fix" the problem ? === START OF INFORMATION SECTION === Model Family: Samsung based SSDs Device Model: Samsung SSD 840 PRO Series Serial Number: S1ANNSAF225154J LU WWN Device Id: 5 002538 5a01d79fd Firmware Version: DXM05B0Q User Capacity: 128,035,676,160 bytes [128 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Fri Sep 12 09:17:42 2014 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled # mfiutil show drives mfi0 Physical Drives: 8 ( 119G) JBOD SATA E1:S1 9 ( 119G) JBOD SATA E1:S0 10 ( 119G) JBOD SATA E1:S3 11 ( 119G) JBOD SATA E1:S2 ---Mik3 -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/