Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 10:10:14 -0400
From:      "Kenneth D. Merry" <ken@FreeBSD.ORG>
To:        Gary Jennejohn <gljennjohn@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Recognizing SMR HDDs
Message-ID:  <20160526141013.GA3640@mithlond.kdm.org>
In-Reply-To: <20160526160041.6bf738b8@ernst.home>
References:  <20160526084253.6588938f@ernst.home> <20160526123445.GA2105@mithlond.kdm.org> <20160526152921.1c91f61a@ernst.home> <20160526134120.GA3146@mithlond.kdm.org> <20160526160041.6bf738b8@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ken@FreeBSD.ORG> 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" <ken@FreeBSD.ORG> 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: <ATA ST8000AS0002-1NA AR17> 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: <ST8000AS 0002-1NA17Z 0X03> 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: <ST8000AS0002-1NA17Z AR13> 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



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