[smartmontools-support] Getting SSD attribute Raw values on Illumos/Solaris

Guenther Ernst Alka gea at napp-it.org
Sat May 30 12:18:21 CEST 2020


Smartmontools on Solaris or OmniOS works well with the following
(this is on a BroadCom HBA)

Get basic infos
   smartctl -i -T permissive /dev/rdsk/c11t5000CCA249D48C12d0s0

Smart state
   smartctl -d sat,12 -T permissive --smart=on /dev/rdsk/c11t5000CCA249D48C12d0s0

Details incl all attributes
  smartctl -a -d sat,12 -T permissive /dev/rdsk/c11t5000CCA249D48C12d0s0

Only remaining problem that I have found (Solaris only, not Illumos) is 
that every smartmontool call increases iostat error counters. Not a real 
problem but annoying.

Gea

Am 29.05.2020 um 20:48 schrieb Thommandra Gowtham:
> Thanks for your reply Christian.
>
> It doesn't work with '-d sat'. Is there any other way we can get the 
> raw attributes? Because we are able to query the same disk using 
> smartctl on Ubuntu.
> Any pointers would be much appreciated.
>
> <snip>
> # smartctl -d sat -a /dev/rdsk/c11t0d0s0
> smartctl 7.1 2019-12-30 r5022 [i386-pc-solaris2.11] (local build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org <http://www.smartmontools.org>
>
> === START OF INFORMATION SECTION ===
> Device Model:     SQF-S25M8-128G-S8C
> Serial Number:    FF3607431CAB00091656
> Firmware Version: S8FM06A7
> User Capacity:    128,035,676,160 bytes [128 GB]
> Sector Size:      512 bytes logical/physical
> Rotation Rate:    Solid State Device
> Form Factor:      2.5 inches
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   ATA8-ACS (minor revision not indicated)
> SATA Version is:  SATA 3.1, 6.0 Gb/s
> Local Time is:    Fri May 29 18:45:43 2020 PDT
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
>
> Read SMART Data failed: scsi error aborted command
>
> === START OF READ SMART DATA SECTION ===
> SMART Status command failed: scsi error aborted command
> SMART overall-health self-assessment test result: UNKNOWN!
> SMART Status, Attributes and Thresholds cannot be read.
>
> Read SMART Log Directory failed: scsi error aborted command
>
> Read SMART Error Log failed: scsi error aborted command
>
> Read SMART Self-test Log failed: scsi error aborted command
>
> Selective Self-tests/Logging not supported
> </snip>
>
> Thanks,
> Gowtham
>
> On Fri, May 29, 2020 at 10:13 PM Christian Franke 
> <Christian.Franke at t-online.de <mailto:Christian.Franke at t-online.de>> 
> wrote:
>
>     Thommandra Gowtham wrote:
>     > I need to get few parameters of SSD from Illumos. For example:
>     >
>     > ...
>     >
>     > But when I try to retrieve, I see that it is not supported in
>     Solaris.
>     > Is there any other way we can get the raw data in Illumos/Solaris?
>     >
>     > # /usr/local/sbin/smartctl -d ata   -a /dev/rdsk/c11t0d0s0
>     > smartctl 7.1 2019-12-30 r5022 [i386-pc-solaris2.11] (local build)
>     > Copyright (C) 2002-19, Bruce Allen, Christian Franke,
>     > www.smartmontools.org <http://www.smartmontools.org>
>     <http://www.smartmontools.org>
>     >
>     >
>     >
>     #######################################################################
>     > ATA command routine ata_command_interface() NOT IMPLEMENTED
>     under Solaris.
>     > Please contact smartmontools-support at listi.jpberlin.de
>     <mailto:smartmontools-support at listi.jpberlin.de>
>     > <mailto:smartmontools-support at listi.jpberlin.de
>     <mailto:smartmontools-support at listi.jpberlin.de>> if
>     > you want to help in porting smartmontools to Solaris.
>     >
>     #######################################################################
>
>     Self explanatory :-)
>
>
>     >
>     > Tried with '-T permissive' as well but no luck. I can get some
>     data by
>     > using '-d scsi' but not the raw attributes.
>
>     Did you try without '-d' or with '-d sat' ?
>
>     According to https://www.smartmontools.org/changeset/4140 this should
>     work for SATA devices.
>
>     Regards,
>     Christian
>
>
> _______________________________________________
> Smartmontools-support mailing list
> Smartmontools-support at listi.jpberlin.de
> https://listi.jpberlin.de/mailman/listinfo/smartmontools-support

-- 
Guenther Alka, Dipl.-Ing. (FH)

Rektor-Klaus Str. 71
73525 Schwäbisch Gmünd


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20200530/e015b212/attachment.html>


More information about the Smartmontools-support mailing list