From owner-freebsd-current@freebsd.org Thu May 26 14:10:17 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F9C4B4B7A6 for ; Thu, 26 May 2016 14:10:17 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ED5851EED for ; Thu, 26 May 2016 14:10:16 +0000 (UTC) (envelope-from ken@kdm.org) Received: by mailman.ysv.freebsd.org (Postfix) id E8D4DB4B7A5; Thu, 26 May 2016 14:10:16 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E878FB4B7A3 for ; Thu, 26 May 2016 14:10:16 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "A1-33714", Issuer "A1-33714" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A5E571EEC for ; Thu, 26 May 2016 14:10:16 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id u4QEAEnh003694 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 May 2016 10:10:14 -0400 (EDT) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.14.9/Submit) id u4QEAEDL003693; Thu, 26 May 2016 10:10:14 -0400 (EDT) (envelope-from ken) Date: Thu, 26 May 2016 10:10:14 -0400 From: "Kenneth D. Merry" To: Gary Jennejohn Cc: current@freebsd.org Subject: Re: Recognizing SMR HDDs Message-ID: <20160526141013.GA3640@mithlond.kdm.org> References: <20160526084253.6588938f@ernst.home> <20160526123445.GA2105@mithlond.kdm.org> <20160526152921.1c91f61a@ernst.home> <20160526134120.GA3146@mithlond.kdm.org> <20160526160041.6bf738b8@ernst.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160526160041.6bf738b8@ernst.home> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Thu, 26 May 2016 10:10:14 -0400 (EDT) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 14:10:17 -0000 On Thu, May 26, 2016 at 16:00:41 +0200, Gary Jennejohn wrote: > On Thu, 26 May 2016 09:41:20 -0400 > "Kenneth D. Merry" wrote: > > > On Thu, May 26, 2016 at 15:29:21 +0200, Gary Jennejohn wrote: > > > On Thu, 26 May 2016 08:34:45 -0400 > > > "Kenneth D. Merry" wrote: > > > > > > > On Thu, May 26, 2016 at 08:42:53 +0200, Gary Jennejohn wrote: > > > > What kind of drive is it? > > > > > > > > > > ST8000AS 0002-1NA17Z 0X03 > > > > Can you send the output of 'camcontrol inquiry daX -v' and > > 'camcontrol identify daX -v'? > > > > There is a quirk for that particular drive to identify it as Drive Managed. > > When attached behind a SAS controller it looks like this: > > > > # camcontrol inquiry da12 -v > > pass12: Fixed Direct Access SPC-4 SCSI device > > pass12: Serial Number Z8407Y52 > > pass12: 600.000MB/s transfers, Command Queueing Enabled > > > > Thanks for the info. > > Here the requested output: > > camcontrol inquiry da0 -v > pass5: Fixed Direct Access SPC-4 SCSI device > pass5: Serial Number 000000000000 > pass5: 400.000MB/s transfers Okay. Looks like the USB to SATA chip is perhaps mangling the model number. I'm guessing that is the "standard" way to do it, but it is unfortunate. > camcontrol identify da0 -v > camcontrol: sending ATA ATA_IDENTIFY via pass_16 with timeout of 30000 msecs > pass5: Raw identify data: > 0: 0c5a 3fff c837 0010 0000 0000 003f 0000 > 8: 0000 0000 2020 2020 2020 2020 2020 2020 > 16: 5a38 3430 3339 4738 0000 8000 0000 4152 > 24: 3133 2020 2020 5354 3830 3030 4153 3030 > 32: 3032 2d31 4e41 3137 5a20 2020 2020 2020 > 40: 2020 2020 2020 2020 2020 2020 2020 8010 > 48: 4000 2f00 4000 0200 0200 0007 3fff 0010 > 56: 003f fc10 00fb 5c10 ffff 0fff 0000 0007 > 64: 0003 0078 0078 0078 0078 0000 0000 0000 > 72: 0000 0000 0000 001f 8d0e 0004 00cc 0040 > 80: 03f0 001f 346b 7d61 6163 3469 bc41 6163 > 88: 407f 81e7 81e7 0000 fffe 0000 fe00 0000 > 96: 0000 0000 0000 0000 2ab0 a381 0003 0000 > 104: 0000 0000 6003 0000 5000 c500 7b0e 5cbe > 112: 0000 0000 0000 0000 0000 0000 0000 40dc > 120: 409c 0000 0000 0000 0000 0000 0000 0000 > 128: 0021 2ab0 a381 2ab0 a381 2020 0002 0140 > 136: 0108 5000 3c06 3c0a 0000 003c 0000 0008 > 144: 0000 0000 bdff 0280 0000 0000 0008 0000 > 152: 0000 0000 0000 8000 0000 0184 8b00 8008 > 160: 0000 0000 0000 0000 0000 0000 0000 0000 > 168: 0000 0000 0000 0000 0000 0000 0000 0000 > 176: 0000 0000 0000 0000 0000 0000 0000 0000 > 184: 0000 0000 0000 0000 0000 0000 0000 0000 > 192: 0000 0000 0000 0000 0000 0000 0000 0000 > 200: 0000 0000 0000 0000 0000 0000 30a5 0000 > 208: 0000 4000 0000 0000 0000 0000 0000 0000 > 216: 0000 175c 0000 0000 0000 0000 107f 0000 > 224: 0000 0000 0000 0000 0000 0000 0000 0000 > 232: 0000 0000 0000 0000 0000 0000 0000 0000 > 240: 0000 0000 0000 0000 0000 0000 0000 0000 > 248: 0000 0000 0000 0000 0000 0000 0000 6aa5 > > camcontrol: sending ATA READ_NATIVE_MAX_ADDRESS48 via pass_16 with timeout of 1000 msecs > pass5: Raw native max data: > 0: 0000 0000 0000 0000 0000 0000 > error = 0x00, sector_count = 0x0000, device = 0x00, status = 0x00 > pass5: ACS-2 ATA SATA 3.x device > pass5: 400.000MB/s transfers > > protocol ATA/ATAPI-9 SATA 3.x > device model ST8000AS0002-1NA17Z > firmware revision AR13 The firmware is old, the current version is AR17. You should really ask Seagate for updated firmware. > serial number Z84039G8 > WWN 5000c5007b0e5cbe > cylinders 16383 > heads 16 > sectors/track 63 > sector size logical 512, physical 4096, offset 0 > LBA supported 268435455 sectors > LBA48 supported 15628053168 sectors > PIO supported PIO4 > DMA supported WDMA2 UDMA6 > media RPM 5980 > > 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 > NCQ Queue Management no > NCQ Streaming no > Receive & Send FPDMA Queued no > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management no no > automatic acoustic management no no > media status notification no no > power-up in Standby yes no > write-read-verify no no > unload yes yes > general purpose logging yes yes > free-fall no no > Data Set Management (DSM/TRIM) no > Host Protected Area (HPA) yes no 15628053168/1 > HPA - Security no > > -- > Gary Jennejohn Ken -- Kenneth Merry ken@FreeBSD.ORG