May 2, 2026

Check health status of a disk with smartctl

To find the path to the disk, run lsblk.

Let’s say, path to the disk is /dev/sdc.

To check if the disk is compatible with smartctl, run:

$ sudo smartctl -i /dev/sdc | grep Enabled
SMART support is: Enabled

Then to print a health report:

$ sudo smartctl -H /dev/sdc
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-176-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

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

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2025 by yctct is licensed under CC BY-SA 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88