[smartmontools-support] Raw output?

Thorsten Wilms t_w_ at freenet.de
Thu May 20 12:19:52 CEST 2021


On Thu, 20 May 2021 10:35:04 +0200
Claudio Kuenzler <napsty at gmail.com> wrote:

> >
> > SMART/Health Information (NVMe Log 0x02)
> > Critical Warning:                   0x00
> > Temperature:                        51 Celsius
> > Available Spare:                    86%
> > Available Spare Threshold:          10%
> > Percentage Used:                    0%
> > Data Units Read:                    1.147.167 [587 GB]
> > Data Units Written:                 1.945.358 [996 GB]
> > Host Read Commands:                 15.382.874
> > Host Write Commands:                18.487.599
> > Controller Busy Time:               1.410
> > Power Cycles:                       278
> > Power On Hours:                     1.232
> > Unsafe Shutdowns:                   277
> > Media and Data Integrity Errors:    0
> > Error Information Log Entries:      0
> > Warning  Comp. Temperature Time:    0
> > Critical Comp. Temperature Time:    0
> >
> 
> These are your "raw" values. As this is a NVMe drive, smartctl tries
> to read them from the nvme output.
> You might also want to use https://github.com/linux-nvme/nvme-cli to
> read the nvme information from the drive, there could be differences.

OK, Thanks. What I was expecting based on online examples and the
result I get for my HD is something like this:

```
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   182   180   021    Pre-fail  Always       -       5891
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       273
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       1228
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       273
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       13
193 Load_Cycle_Count        0x0032   194   194   000    Old_age   Always       -       20508
194 Temperature_Celsius     0x0022   118   113   000    Old_age   Always       -       32
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0
```

Best I could get out of nvme-cli is:
```
~: sudo -i nvme --smart-log /dev/nvme0
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning			: 0
temperature				: 52 C
available_spare				: 86%
available_spare_threshold		: 10%
percentage_used				: 0%
endurance group critical warning summary: 0
data_units_read				: 1153209
data_units_written			: 1955609
host_read_commands			: 15453414
host_write_commands			: 18584586
controller_busy_time			: 1419
power_cycles				: 280
power_on_hours				: 1239
unsafe_shutdowns			: 279
media_errors				: 0
num_err_log_entries			: 0
Warning Temperature Time		: 0
Critical Composite Temperature Time	: 0
Thermal Management T1 Trans Count	: 0
Thermal Management T2 Trans Count	: 0
Thermal Management T1 Total Time	: 0
Thermal Management T2 Total Time	: 0
```


-- 
Thorsten Wilms <t_w_ at freenet.de>


More information about the Smartmontools-support mailing list