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

next in thread | previous in thread | raw e-mail | index | archive | help
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

> 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



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