Asking a small favor from any SAS SSD owners on the forum

Spearfoot

Active Member
Apr 22, 2015
113
49
28
I want to reliably identify SAS SSD drives in shell scripts, but I don't own any to test with. So I'm asking my fellow enthusiasts here on STH to post the smartctl 'INFORMATION SECTION' output from a SAS SSD:
Code:
smartctl -i /dev/'x'
The output from SAS hard drives shows a rotation rate and a device type of 'disk', like this:
Code:
=== START OF INFORMATION SECTION ===
Vendor:               WDC
Product:              WUH721414AL4204
Revision:             C240
Compliance:           SPC-4
User Capacity:        14,000,519,643,136 bytes [14.0 TB]
Logical block size:   4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca2972572bc
Serial number:        XXXXXXXXX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Fri Sep 10 11:17:52 2021 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
I'm curious how smartctl reports the same information for SAS SSDs. For SATA SSDs it reports a rotation rate of 'Solid State Disk':
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Intel 730 and DC S35x0/3610/3700 Series SSDs
Device Model:     INTEL SSDSC2BB016T4
Serial Number:    XXXXXXXXXXXXXXXXX
LU WWN Device Id: 5 5cd2e4 04c013249
Firmware Version: G2010150
User Capacity:    1,536,000,000,512 bytes [1.53 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Sep 10 11:21:08 2021 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Which is pretty clear! I'm wondering if it reports the same thing for SAS SSDs.

Thanks in advance my friends!
 

gea

Well-Known Member
Dec 31, 2010
2,710
934
113
DE
different ex
Code:
/usr/sbin/smartctl -a -d scsi -T permissive /dev/rdsk/c14t5000CCA26063AB41d0s0

smartctl 6.3 2014-07-26 r3976 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH728080AL5200
Revision:             A907
Compliance:           SPC-4
User Capacity:        8,001,563,222,016 bytes [8.00 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LB provisioning type: unreported, LBPME=0, LBPRZ=0
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca26063ab40
Serial number:        VLHSU7NV
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Sep 11 15:24:02 2021 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     40 C
Drive Trip Temperature:        85 C

Manufactured in week 38 of year 2016
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  20
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1335
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 7642213601247232

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0      144         0       144    5058127     939272.375           0
write:         0        1         0         1     543229      11622.278           0
verify:        0        0         0         0      27022          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   27701                 - [-   -    -]
# 2  Background short  Completed                   -   27677                 - [-   -    -]
# 3  Background short  Completed                   -   27653                 - [-   -    -]
 
  • Like
Reactions: Spearfoot

Spearfoot

Active Member
Apr 22, 2015
113
49
28
different ex
Code:
/usr/sbin/smartctl -a -d scsi -T permissive /dev/rdsk/c14t5000CCA26063AB41d0s0

smartctl 6.3 2014-07-26 r3976 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH728080AL5200
Revision:             A907
Compliance:           SPC-4
User Capacity:        8,001,563,222,016 bytes [8.00 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LB provisioning type: unreported, LBPME=0, LBPRZ=0
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca26063ab40
Serial number:        VLHSU7NV
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Sep 11 15:24:02 2021 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     40 C
Drive Trip Temperature:        85 C

Manufactured in week 38 of year 2016
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  20
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1335
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 7642213601247232

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0      144         0       144    5058127     939272.375           0
write:         0        1         0         1     543229      11622.278           0
verify:        0        0         0         0      27022          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   27701                 - [-   -    -]
# 2  Background short  Completed                   -   27677                 - [-   -    -]
# 3  Background short  Completed                   -   27653                 - [-   -    -]
Thank you, @gea!

Do you have any SAS solid state disks?
 

Lix

New Member
Aug 6, 2017
27
4
3
36
=== START OF INFORMATION SECTION ===
Vendor: MICRON
Product: S630DC-1600
Revision: M018
Compliance: SPC-4
User Capacity: 1,600,321,314,816 bytes [1.60 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Logical Unit id: 0x5000c500ad71925f

SAS SSD
 
  • Like
Reactions: Spearfoot

itronin

Well-Known Member
Nov 24, 2018
700
406
63
Denver, Colorado
Code:
smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p6 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HBTAC2DH2SUN3.2T
Revision:             B170
Compliance:           SPC-4
User Capacity:        3,200,631,791,616 bytes [3.20 TB]
Logical block size:   4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca08c01d984
Serial number:        001732JD0JLX        5RV10JLX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Sep 11 09:14:44 2021 MDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Percentage used endurance indicator: 0%
Current Drive Temperature:     32 C
Drive Trip Temperature:        70 C

Accumulated power on time, hours:minutes 27335:58
Manufactured in week 32 of year 2017
Specified cycle count over device lifetime:  0
Accumulated start-stop cycles:  0
Specified load-unload count over device lifetime:  0
Accumulated load-unload cycles:  0
Vendor (Seagate Cache) information
  Blocks sent to initiator = 1577662

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0      10246.721           0
write:         0        0         0         0          0       7871.175           0

Non-medium error count:        0

No Self-tests have been logged
Code:
smartctl 7.2 2020-12-30 r5155 [FreeBSD 12.2-RELEASE-p6 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUSMM141 EMC1600
Revision:             C342
Compliance:           SPC-4
User Capacity:        1,600,321,314,816 bytes [1.60 TB]
Logical block size:   4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca050b515ac
Serial number:        0SY6L95A
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Sep 11 09:18:29 2021 MDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Percentage used endurance indicator: 0%
Current Drive Temperature:     31 C
Drive Trip Temperature:        65 C

Accumulated power on time, hours:minutes 9131:52
Manufactured in week 44 of year 2016
Specified cycle count over device lifetime:  0
Accumulated start-stop cycles:  0
Specified load-unload count over device lifetime:  0
Accumulated load-unload cycles:  0
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 2708976

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0      11742.666           0
write:         0        0         0         0          0      13765.204           0
verify:        0        0         0         0          0          0.003           0

Non-medium error count:        0

No Self-tests have been logged
 
  • Like
Reactions: Spearfoot

Spearfoot

Active Member
Apr 22, 2015
113
49
28
k... be a while but should be able to do this later today. Care to share what magic incantation you are creating? :p
Ha ha! Be glad to share -- I want to spruce up my disk burn-in script to handle SAS disks, and to avoid running badblocks on SSDs:

 

itronin

Well-Known Member
Nov 24, 2018
700
406
63
Denver, Colorado
Ha ha! Be glad to share -- I want to spruce up my disk burn-in script to handle SAS disks, and to avoid running badblocks on SSDs:

that's kind of you 'cause many of us use that! o_O
 

Marsh

Moderator
May 12, 2013
2,472
1,294
113
I want to reliably identify SAS SSD drives in shell scripts,
Bash script to check SAS drive standby mode.
Ubuntu

#!/bin/bash

# Find only SAS drives
declare -a StringArray=($(ls /dev/disk/by-id/ | grep -v part | grep "scsi" ))

for drive in ${StringArray[@]}; do
echo check SAS $drive standby flag
sudo sdparm -a /dev/disk/by-id/$drive | grep -i standby
done
 

gea

Well-Known Member
Dec 31, 2010
2,710
934
113
DE
Thank you, @gea!

Do you have any SAS solid state disks?
WD SS530

Code:
/usr/sbin/smartctl -a -d scsi -T permissive /dev/rdsk/c6t5000CCA0A5001C39d0s0

smartctl 7.0 2018-12-30 r4883 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               WDC
Product:              WUSTR6440ASS200
Revision:             A900
Compliance:           SPC-5
User Capacity:        400,088,457,216 bytes [400 GB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca0a5001c38
Serial number:        V4V01W8A
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Sep 11 22:54:46 2021 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Percentage used endurance indicator: 0%
Current Drive Temperature:     34 C
Drive Trip Temperature:        70 C

Manufactured in week 47 of year 2018
Specified cycle count over device lifetime:  0
Accumulated start-stop cycles:  0
Specified load-unload count over device lifetime:  0
Accumulated load-unload cycles:  0
defect list format 6 unknown
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 3704727053271040

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0        170.022           0
write:         0        0         0         0          0       6990.920           0

Non-medium error count:    19405

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   17976                 - [-   -    -]
# 2  Background short  Completed                   -   17952                 - [-   -    -]
 
  • Like
Reactions: Spearfoot

dswartz

Active Member
Jul 14, 2011
515
53
28
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST960FM0003
Revision: 0007
Compliance: SPC-4
User Capacity: 960,197,124,096 bytes [960 GB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Logical Unit id: 0x5000c500302a5213
Serial number: Z8713B0J0000822150Z3
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sat Sep 11 17:28:14 2021 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
 
  • Like
Reactions: Spearfoot