el5olfaa.com
New member
Hello,
I will explain to you how to check your hdd health on Ubuntu / Centos let's do it .
1) We need to install smartctl first so connect to your server shell and do the following command :
Ubuntu :
Centos :
2) Now we can run a short or long test using the following command
Assume you want to check the first disk which is sda :
3) Wait for a 15 minute then do the following command to show check status :
Now if you see read failure in check status backup your data and be ready to replace this hdd .
That's all
Good luck
I will explain to you how to check your hdd health on Ubuntu / Centos let's do it .
1) We need to install smartctl first so connect to your server shell and do the following command :
Ubuntu :
Code:
sudo apt-get install smartmontools
Centos :
Code:
yum install smartmontools
Assume you want to check the first disk which is sda :
Code:
smartctl --test=short /dev/sda
3) Wait for a 15 minute then do the following command to show check status :
Code:
smartctl -l selftest /dev/sda
Now if you see read failure in check status backup your data and be ready to replace this hdd .
That's all
Good luck