Skip to content
XO Techy
  • Home
  • SSH
  • Dedicated server
  • cPanel
  • Bandwidth unit converter from Mbps
  • Home
  • Linux
  • Check hard drive (HDD/SSD) health on Linux

Check hard drive (HDD/SSD) health on Linux

/ Linux / February 28, 2025

To check hard drive health on Linux you can use this command:

sudo smartctl -a /dev/sda | less
  • replace /dev/sda with your actual device.

to check for bad blocks, use this command:

sudo badblocks -v /dev/sda -s
  • replace /dev/sda with your actual device.
← Previous Post

Search

Recent Posts

  • Check hard drive (HDD/SSD) health on Linux
  • How to do RAM (VM) stress test
  • Restart Netowork in RHEL 9/Almalinux 9/RockyLinux 9 with nmcli
  • OpenVPN Route Private traffic only (OpenVPN Server on linux)
  • Mount a RAW Qemu Image File to your Linux system

Tags

cagefs centos centos7 cli cloudlinux count cpanel cpu cyber security dedicated server development domain encryption git host https linux openvpn phpmyadmin security server SSH ssl ssl certificate theme threads transfertool updates wget whm windows windows 10 wordpress wp-cli

Archives

  • February 2025
  • November 2024
  • August 2023
  • June 2022
  • February 2022
  • December 2021
  • August 2021
  • June 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • March 2020
  • February 2020
  • April 2019
  • October 2018
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • September 2013
  • May 2013
  • April 2013
  • March 2012
Copyright © 2025 XO Techy