Friday, August 4, 2017

Un*x to the rescue

My boss was trying to do a thing using Windows 10. It would'nt work. They asked me if I could do it under Xubuntu. Problem solved in short order.

Monday, July 17, 2017

S.M.A.R.T. queries to SSD connected via a Delock 42510 Thunderbolt housing

Delock 42510 S.M.A.R.T. queries to SSD

Was asked if one could make expanded S.M.A.R.T. queries to SSD installed in a Delock 42510 running on macOS Sierra. Test system was running 10.12.5. SSD was as SanDisk SDSSDA120G.

S.M.A.R.T.

First thing to do was install smartmontools using macports.

sudo port -v install smartmontools

Then run the query on the SSD in question.

smartctl -a disk2

smartctl 6.5 2016-05-07 r4318 [Darwin 16.6.0 x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     SandForce Driven SSDs
Device Model:     SanDisk SDSSDA120G
Serial Number:    164702445504
LU WWN Device Id: 5 001b44 4a67ae626
Firmware Version: Z32080RL
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/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 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Jul 17 23:26:13 2017 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                    without error or no self-test has ever 
                    been run.
Total time to complete Offline 
data collection:        (  120) seconds.
Offline data collection
capabilities:            (0x11) SMART execute Offline immediate.
                    No Auto Offline data collection support.
                    Suspend Offline collection upon new
                    command.
                    No Offline surface scan supported.
                    Self-test supported.
                    No Conveyance Self-test supported.
                    No Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:    (   2) minutes.
Extended self-test routine
recommended polling time:    (  10) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Retired_Block_Count     0x0032   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours_and_Msec 0x0032   000   100   000    Old_age   Always       -       329h+00m+00.000s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       23
165 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       85903147061
166 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1
167 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       2
169 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
170 Reserve_Block_Count     0x0032   100   100   000    Old_age   Always       -       0
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Unknown_SandForce_Attr  0x0032   100   100   000    Old_age   Always       -       1
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       21
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   058   038   000    Old_age   Always       -       42 (Min/Max 0/62)
199 SATA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
230 Life_Curve_Status       0x0032   100   100   000    Old_age   Always       -       73015951383
232 Available_Reservd_Space 0x0033   100   100   004    Pre-fail  Always       -       100
233 SandForce_Internal      0x0032   100   100   000    Old_age   Always       -       195
234 SandForce_Internal      0x0032   100   100   000    Old_age   Always       -       247
241 Lifetime_Writes_GiB     0x0030   253   253   000    Old_age   Offline      -       220
242 Lifetime_Reads_GiB      0x0030   253   253   000    Old_age   Offline      -       850
244 Unknown_Attribute       0x0032   000   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

Selective Self-tests/Logging not supported