Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 19:30:01 GMT
From:      "Vladislav V. Prodan" <admin@support.od.ua>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/187905: [zpool] Confusion zpool with a block size in HDD - block size: 512B configured, 4096B native
Message-ID:  <201403241930.s2OJU1uE074017@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/187905; it has been noted by GNATS.

From: "Vladislav V. Prodan" <admin@support.od.ua>
To: Steven Hartland <killing@multiplay.co.uk>
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 <killing@multiplay.co.uk>:
 
 > 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: <ST500DM005 HD502HJ 1AJ10001> 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
 
 <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
 _quote">2014-03-24 21:09 GMT+02:00 Steven Hartland <span dir=3D"ltr">&lt;<a=
  href=3D"mailto:killing@multiplay.co.uk" target=3D"_blank">killing@multipla=
 y.co.uk</a>&gt;</span>:<br>
 
 <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
 left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
 adding-left:1ex">This matches the 4K quirk for Seagate Barracuda Green Adva=
 nced Format (4k) drives =C2=A0 =C2=A0 =C2=A0 =C2=A0{<br>
 
 
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Seagate Barracuda=
  Green Advanced Format (4k) drives */<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ T_DIRECT, SIP_MEDI=
 A_FIXED, &quot;ATA&quot;, &quot;ST???DM*&quot;, &quot;*&quot; },<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*quirks*/DA_Q_4K<br=
 >
 =C2=A0 =C2=A0 =C2=A0 =C2=A0},<br>
 ---<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0{<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Seagate Barracuda=
  Advanced Format (4k) drives */<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ T_DIRECT, SIP_MEDI=
 A_FIXED, &quot;*&quot;, &quot;ST????DM*&quot;, &quot;*&quot; },<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/*quirks*/ADA_Q_4K<b=
 r>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0},<br>
 <br>
 This is possibly incorrect for this drive as it looks like its a Seagate<br=
 >
 version of the old Samsung drive.<br>
 <br>
 Could you provide the information from:-<br>
 camcontrol identify ada0<br></blockquote><div><br></div><div><br></div><div=
 ><span id=3D"result_box" class=3D"" lang=3D"en"><span id=3D"result_box" cla=
 ss=3D"" lang=3D"en"><span class=3D"">Thanks for the reply</span><span class=
 =3D"">.</span></span><br>
 
 <span class=3D"">Here&#39;s the output</span><span class=3D"">:</span></spa=
 n><br></div><div><span class=3D"" lang=3D"en"><span class=3D""><br></span><=
 /span></div><div><div># camcontrol identify ada0</div><div>pass0: &lt;ST500=
 DM005 HD502HJ 1AJ10001&gt; ATA-8 SATA 2.x device</div>
 
 <div>pass0: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes)</div><div><b=
 r></div><div>protocol =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ATA/A=
 TAPI-8 SATA 2.x</div><div>device model =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ST=
 500DM005 HD502HJ</div><div>firmware revision =C2=A0 =C2=A0 1AJ10001</div>
 
 <div>serial number =C2=A0 =C2=A0 =C2=A0 =C2=A0 S20BJ90D306953</div><div>WWN=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 50004cf209d=
 3bdd6</div><div>cylinders =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16383</=
 div><div>heads =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 16</=
 div><div>sectors/track =C2=A0 =C2=A0 =C2=A0 =C2=A0 63</div><div>sector size=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 logical 512, physical 512, offset 0</di=
 v>
 
 <div>LBA supported =C2=A0 =C2=A0 =C2=A0 =C2=A0 268435455 sectors</div><div>=
 LBA48 supported =C2=A0 =C2=A0 =C2=A0 976773168 sectors</div><div>PIO suppor=
 ted =C2=A0 =C2=A0 =C2=A0 =C2=A0 PIO4</div><div>DMA supported =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 WDMA2 UDMA6</div><div>media RPM =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 7200</div><div>
 
 <br></div><div>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</div><div>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</=
 div><div>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</div><div>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</div>
 
 <div>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</div><div>Tagged Command Queuing (TCQ) =C2=A0 no =
 =C2=A0 =C2=A0 =C2=A0 no</div><div>Native Command Queuing (NCQ) =C2=A0 yes =
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A032 tags</div><div>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</div><div>
 
 microcode download =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 =C2=
 =A0 =C2=A0yes</div><div>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</div><div>pow=
 er management =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 yes =C2=A0 =
 =C2=A0 =C2=A0yes</div><div>advanced power management =C2=A0 =C2=A0 =C2=A0ye=
 s =C2=A0 =C2=A0 =C2=A0no =C2=A0 =C2=A0 =C2=A00/0x00</div>
 
 <div>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</div><div>media status=
  notification =C2=A0 =C2=A0 =C2=A0no =C2=A0 =C2=A0 =C2=A0 no</div><div>powe=
 r-up in Standby =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0yes =C2=A0 =C2=A0 =
 =C2=A0no</div><div>write-read-verify =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0no =C2=A0 =C2=A0 =C2=A0 no</div>
 
 <div>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</div><div>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</div><div>Data Set Management (DSM/TRIM) no</div><div>=
 Host Protected Area (HPA) =C2=A0 =C2=A0 =C2=A0yes =C2=A0 =C2=A0 =C2=A0no =
 =C2=A0 =C2=A0 =C2=A0976773168/976773168</div>
 
 <div>HPA - Security =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  no</div></div><div><br></div><div>=C2=A0</div></div><br clear=3D"all"><div=
 ><br></div>-- <br>Vladislav V. Prodan =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0<br>System &amp; Network Administrator<br><a href=3D"http://support.o=
 d.ua" target=3D"_blank">http://support.od.ua</a>; =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0<br>
 
 +380 67 4584408, +380 99 4060508<br>VVP88-RIPE
 </div></div>
 
 --e89a8f923df21bc29c04f55f3bfe--



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