S.M.A.R.T.: Difference between revisions

Line 16: Line 16:
# Run <code>sudo update-initramfs -u</code>
# Run <code>sudo update-initramfs -u</code>
# Reboot
# Reboot
====Long Smart Tests====
When running long smart tests, you will want to continuously poll the device so it does not go to sleep.
<syntaxhighlight lang="bash">
DEVICE=/dev/sda
sudo smartctl -t long $DEVICE
sudo watch -d --cumulative -n 10 smartctl -a $DEVICE
</syntaxhighlight>


===Remote monitoring===
===Remote monitoring===