From owner-freebsd-fs@FreeBSD.ORG Mon Mar 24 19:30:01 2014 Return-Path: Delivered-To: freebsd-fs@smarthost.ysv.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 49EE3301 for ; Mon, 24 Mar 2014 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3639AEF6 for ; Mon, 24 Mar 2014 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OJU1DU074018 for ; Mon, 24 Mar 2014 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2OJU1uE074017; Mon, 24 Mar 2014 19:30:01 GMT (envelope-from gnats) Date: Mon, 24 Mar 2014 19:30:01 GMT Message-Id: <201403241930.s2OJU1uE074017@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: "Vladislav V. Prodan" Subject: Re: kern/187905: [zpool] Confusion zpool with a block size in HDD - block size: 512B configured, 4096B native X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: "Vladislav V. Prodan" List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 19:30:01 -0000 The following reply was made to PR kern/187905; it has been noted by GNATS. From: "Vladislav V. Prodan" To: Steven Hartland Cc: bug-followup@freebsd.org Subject: Re: kern/187905: [zpool] Confusion zpool with a block size in HDD - block size: 512B configured, 4096B native Date: Mon, 24 Mar 2014 21:27:28 +0200 --e89a8f923df21bc29c04f55f3bfe Content-Type: text/plain; charset=UTF-8 2014-03-24 21:09 GMT+02:00 Steven Hartland : > This matches the 4K quirk for Seagate Barracuda Green Advanced Format (4k) > drives { > /* Seagate Barracuda Green Advanced Format (4k) drives */ > { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "ST???DM*", "*" }, > /*quirks*/DA_Q_4K > }, > --- > { > /* Seagate Barracuda Advanced Format (4k) drives */ > { T_DIRECT, SIP_MEDIA_FIXED, "*", "ST????DM*", "*" }, > /*quirks*/ADA_Q_4K > }, > > This is possibly incorrect for this drive as it looks like its a Seagate > version of the old Samsung drive. > > Could you provide the information from:- > camcontrol identify ada0 > Thanks for the reply. Here's the output: # camcontrol identify ada0 pass0: ATA-8 SATA 2.x device pass0: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model ST500DM005 HD502HJ firmware revision 1AJ10001 serial number S20BJ90D306953 WWN 50004cf209d3bdd6 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 976773168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM 7200 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes yes 254/0xFE 254/0xFE media status notification no no power-up in Standby yes no write-read-verify no no unload no no free-fall no no Data Set Management (DSM/TRIM) no Host Protected Area (HPA) yes no 976773168/976773168 HPA - Security no -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE --e89a8f923df21bc29c04f55f3bfe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



2014-03-24 21:09 GMT+02:00 Steven Hartland <killing@multipla= y.co.uk>:
This matches the 4K quirk for Seagate Barracuda Green Adva= nced Format (4k) drives =C2=A0 =C2=A0 =C2=A0 =C2=A0{
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Seagate Barracuda= Green Advanced Format (4k) drives */
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ T_DIRECT, SIP_MEDI= A_FIXED, "ATA", "ST???DM*", "*" },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*quirks*/DA_Q_4K =C2=A0 =C2=A0 =C2=A0 =C2=A0},
---
=C2=A0 =C2=A0 =C2=A0 =C2=A0{
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Seagate Barracuda= Advanced Format (4k) drives */
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ T_DIRECT, SIP_MEDI= A_FIXED, "*", "ST????DM*", "*" },
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*quirks*/ADA_Q_4K =C2=A0 =C2=A0 =C2=A0 =C2=A0},

This is possibly incorrect for this drive as it looks like its a Seagate version of the old Samsung drive.

Could you provide the information from:-
camcontrol identify ada0


Thanks for the reply.
Here's the output:

<= /span>
# camcontrol identify ada0
pass0: <ST500= DM005 HD502HJ 1AJ10001> ATA-8 SATA 2.x device
pass0: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes)
protocol =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ATA/A= TAPI-8 SATA 2.x
device model =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ST= 500DM005 HD502HJ
firmware revision =C2=A0 =C2=A0 1AJ10001
serial number =C2=A0 =C2=A0 =C2=A0 =C2=A0 S20BJ90D306953
WWN= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 50004cf209d= 3bdd6
cylinders =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16383
heads =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16
sectors/track =C2=A0 =C2=A0 =C2=A0 =C2=A0 63
sector size= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 logical 512, physical 512, offset 0
LBA supported =C2=A0 =C2=A0 =C2=A0 =C2=A0 268435455 sectors
= LBA48 supported =C2=A0 =C2=A0 =C2=A0 976773168 sectors
PIO suppor= ted =C2=A0 =C2=A0 =C2=A0 =C2=A0 PIO4
DMA supported =C2=A0 =C2=A0 = =C2=A0 =C2=A0 WDMA2 UDMA6
media RPM =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 7200

Feature =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0Support =C2=A0Enabled =C2=A0 Value =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Vendor
read ahead =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 =C2=A0 =C2=A0yes
write cache =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0yes =C2=A0 =C2=A0 =C2=A0yes
flush cache =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes =C2=A0 = =C2=A0 =C2=A0yes
overlap =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0no
Tagged Command Queuing (TCQ) =C2=A0 no = =C2=A0 =C2=A0 =C2=A0 no
Native Command Queuing (NCQ) =C2=A0 yes = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A032 tags
SMART =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0yes =C2=A0 =C2=A0 =C2=A0yes
microcode download =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 =C2= =A0 =C2=A0yes
security =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 =C2=A0 =C2=A0no
pow= er management =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 = =C2=A0 =C2=A0yes
advanced power management =C2=A0 =C2=A0 =C2=A0ye= s =C2=A0 =C2=A0 =C2=A0no =C2=A0 =C2=A0 =C2=A00/0x00
automatic acoustic management =C2=A0yes =C2=A0 =C2=A0 =C2=A0yes =C2=A0= =C2=A0 254/0xFE =C2=A0 =C2=A0 =C2=A0 =C2=A0254/0xFE
media status= notification =C2=A0 =C2=A0 =C2=A0no =C2=A0 =C2=A0 =C2=A0 no
powe= r-up in Standby =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes =C2=A0 =C2=A0 = =C2=A0no
write-read-verify =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0no =C2=A0 =C2=A0 =C2=A0 no
unload =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 no =C2=A0 =C2=A0 =C2=A0 no
free-fall =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no =C2= =A0 =C2=A0 =C2=A0 no
Data Set Management (DSM/TRIM) no
= Host Protected Area (HPA) =C2=A0 =C2=A0 =C2=A0yes =C2=A0 =C2=A0 =C2=A0no = =C2=A0 =C2=A0 =C2=A0976773168/976773168
HPA - Security =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= no

=C2=A0


--
Vladislav V. Prodan =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0
System & Network Administrator
http://support.od.ua =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0
+380 67 4584408, +380 99 4060508
VVP88-RIPE
--e89a8f923df21bc29c04f55f3bfe--