Checking drive health with smartctl Print

  • 0

smartctl can be used for checking the health of your drives (i.e. HDDs, SSDs) and providing general information and statistics such as the firmware version, serial number, power-on hours and so on. 

You must first ensure that your server has smartctl installed, part of the smartmontools package. 

Once installed, a very basic use of the command would be:

smartctl -a /dev/sdb
You can view your partitions with tools such as "fdisk" (i.e. fdisk -l).

A quick and easy way to check the health of /dev/sdb would be as follows:

smartctl -a /dev/sdb | grep result
Example output:

# smartctl -a /dev/sdb | grep result
SMART overall-health self-assessment test result: PASSED


Was this answer helpful?

« Back

We're trusted by amazing customers in 136 countries - come & join us!
OR.S May 10, 2024
Excellent host

Excellent host. Prompt replies in good, clear English, easy migration from HG, good speed, all necessary info provided on sign up (ftp, logins etc) error free. Highly recommended.

Christopher James May 1, 2024
I'm very pleased

Affordability, reliability and great customer service. I hos ted my website here. George built something that will potentially be big.

Paola Meyer April 13, 2024
Customer Attention is 5 Stars

Customer Attention. Staff of Ethernet Servers is superb, fast and answers tickets in a pretty speedy manner.

stxsh February 17, 2024
Excellent Provider with Exceptional Support

Been with them for a week and the transition from old hostin g to ethernetserver has been nothing but a joyful experience. Setting up new vps, networking is like a breeze. All set up by george and nothing to worry about really.


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
sales@ethernetservers.com

Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 136 countries since September 2013!