Re: Recognizing SMR HDDs

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Thu, 26 May 2016 15:29:21 +0200
On Thu, 26 May 2016 08:34:45 -0400
"Kenneth D. Merry" <ken_at_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

> Here are some things you can do on any disk to see what it is:
> 
> diskinfo -v /dev/daX
> 

I don't have the new versions of these utilities installed, so I can't
get any of this neat diskinfo/zonectl information.

> # sysctl kern.cam.da.19
> kern.cam.da.19.sort_io_queue: -1
> kern.cam.da.19.rotating: 1
> kern.cam.da.19.unmapped_io: 1
> kern.cam.da.19.error_inject: 0
> [ begin SMR fields ]
> kern.cam.da.19.max_seq_zones: 0
> kern.cam.da.19.optimal_nonseq_zones: 0
> kern.cam.da.19.optimal_seq_zones: 0
> kern.cam.da.19.zone_support: None
> kern.cam.da.19.zone_mode: Drive Managed
> [ begin SMR fields ]
> kern.cam.da.19.minimum_cmd_size: 6
> kern.cam.da.19.delete_max: 262144
> kern.cam.da.19.delete_method: NONE
> 

My drive shows this;
sysctl kern.cam.da.0
kern.cam.da.0.sort_io_queue: -1
kern.cam.da.0.rotating: 1
kern.cam.da.0.unmapped_io: 0
kern.cam.da.0.error_inject: 0
kern.cam.da.0.max_seq_zones: 0
kern.cam.da.0.optimal_nonseq_zones: 0
kern.cam.da.0.optimal_seq_zones: 0
kern.cam.da.0.zone_support: None
kern.cam.da.0.zone_mode: Not Zoned <== I guess it can't be managed
kern.cam.da.0.minimum_cmd_size: 10
kern.cam.da.0.delete_max: 131072
kern.cam.da.0.delete_method: NONE

In fact, the ouput for every one of the 4 drives in the enclosure is
the same, even though the other three are non-SMR SATA drives.

-- 
Gary Jennejohn
Received on Thu May 26 2016 - 11:29:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC