# Automatically check drive health with (SMART values)?

**URL:** https://dietpi.com/forum/t/automatically-check-drive-health-with-smart-values/3255
**Category:** General Discussion
**Created:** [7 June 2019 18:03 UTC](https://dietpi.com/forum/t/automatically-check-drive-health-with-smart-values/3255 "2019-06-07T18:03:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TOMillr](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/e495f1/32.png) [@TOMillr](https://dietpi.com/forum/u/TOMillr)
#### Post date: [7 June 2019 18:03 UTC](https://dietpi.com/forum/t/automatically-check-drive-health-with-smart-values/3255/1 "2019-06-07T18:03:36Z")

</div>

Not sure, but is there a way to have the S.M.A.R.T. values of connected hard drives (internal and external) automatically be checked and be notified in case a drive is about to brake down?

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [9 June 2019 19:44 UTC](https://dietpi.com/forum/t/automatically-check-drive-health-with-smart-values/3255/2 "2019-06-09T19:44:02Z")

</div>

```nohighlight
G_AGI smartmontools
smartctl -a /dev/sda

```

[https://manpages.debian.org/stretch/smartmontools/smartctl.8.en.html](https://manpages.debian.org/stretch/smartmontools/smartctl.8.en.html)  
[https://manpages.debian.org/stretch/smartmontools/smartd.8.en.html](https://manpages.debian.org/stretch/smartmontools/smartd.8.en.html)

AFAIK this does not work for SDcards or eMMC, but USB flash drives (partly) SSDs and HDDs.
