How to check an SSD’s health using smartctl command.

lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953,9G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part /boot/efi
└─nvme0n1p2 259:2 0 953,6G 0 part /var/log
/var/cache
/swap
/home
/

sudo smartctl -A /dev/nvme0n1p1
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.2.7-2-MANJARO] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, http://www.smartmontools.org

=== START OF SMART DATA SECTION ===
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 43 Celsius
Available Spare: 100%
Available Spare Threshold: 50%
Percentage Used: 3%
Data Units Read: 32.821.735 [16,8 TB]
Data Units Written: 45.471.199 [23,2 TB]
Host Read Commands: 385.554.581
Host Write Commands: 618.385.010
Controller Busy Time: 4.581
Power Cycles: 490
Power On Hours: 4.257
Unsafe Shutdowns: 312
Media and Data Integrity Errors: 0
Error Information Log Entries: 0
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 43 Celsius
Temperature Sensor 2: 57 Celsius

As you can see only 3% of my SSD’s (PM9A1 NVMe Samsung 1024GB) TBW (Total Bytes Wtiten) is used.

The maximum endurance of this specific SSD is 600 TBW.

https://www.techpowerup.com/ssd-specs/samsung-pm9a1-1-tb.d786


Leave a comment

Discover more from /root

Subscribe now to keep reading and get access to the full archive.

Continue reading