Views:
249β
Votes: 0β
β
Solution
Tags:
ssd
hddtemp
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1247291
Title:
cant edit hddtemp.db for ssd temp
ID:
/2020/06/05/cant-edit-hddtemp.db-for-ssd-temp
Created:
June 5, 2020
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
From:
NVMe PCIe M.2 Gen 3.0 x 4 (or 2) SSD
If you have an SSD theyβre life span is measured in trillions of writes. Your SMART utility already measures SSD life but not for NVMe SSDs. For that you need nvme-cli
. To install it use:
sudo apt install nvme-cli
Next gather information available from SSD:
$ sudo nvme smart-log /dev/nvme0
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning : 0
temperature : 40 C
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 0%
data_units_read : 12,539,332
data_units_written : 10,623,582
host_read_commands : 281,194,884
host_write_commands : 96,528,713
controller_busy_time : 672
power_cycles : 1,677
power_on_hours : 687
unsafe_shutdowns : 105
media_errors : 0
num_err_log_entries : 279
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1 : 40 C
Temperature Sensor 2 : 51 C
Temperature Sensor 3 : 0 C
Temperature Sensor 4 : 0 C
Temperature Sensor 5 : 0 C
Temperature Sensor 6 : 0 C
Temperature Sensor 7 : 0 C
Temperature Sensor 8 : 0 C
The most important field is Percentage used
which shows as 0%. This isnβt disk usage percent but life used percent. Iβve had this drive since October 2017 and now itβs December 2018. As soon as Percentage used
hits 1% I can multiply the number of months Iβve owned it by 100 to find out when it will die. At the current rate I can say the drive will live 100+ years. Of course it will be obsolete in ten years anyway.
Notice the temperature report.