Difference between revisions of "CentOS 7.x smartcl"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_7.x_system_administration|system administration</yambe:breadcrumb> =CentOS 7.x smartctl= Process for using smartctl is covered at Drive related inf...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>CentOS_7.x_system_administration|system administration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x smartcl|Smartctl]]
=CentOS 7.x smartctl=


Process for using smartctl is covered at [[Drive related information]].  Basically for long selftest use:
Process for using smartctl is covered at [[Drive related information]].  Basically for long selftest use:
Line 18: Line 17:


If even after using above full test is not finishing with messages such "Interrupted (host reset)" or "Aborted by host" etc..  Then it might be issue with disk and it is likely that it will fail soon.
If even after using above full test is not finishing with messages such "Interrupted (host reset)" or "Aborted by host" etc..  Then it might be issue with disk and it is likely that it will fail soon.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x smartcl|Smartctl]]

Latest revision as of 06:28, 25 August 2022

Home > CentOS > CentOS 7.x > System Administration > Smartctl

Process for using smartctl is covered at Drive related information. Basically for long selftest use:

smartctl -t long <device_name>

Later status of test can be checked using:

smartctl -l selftest <device_name>

However as discussed at https://superuser.com/questions/766943/smart-test-never-finishes if drive is running into sleep issues and test is not finishing then use:

while true; do smartctl -a /dev/sda ; smartctl -a /dev/sdc; sleep 60; done > /dev/null &

If even after using above full test is not finishing with messages such "Interrupted (host reset)" or "Aborted by host" etc.. Then it might be issue with disk and it is likely that it will fail soon.



Home > CentOS > CentOS 7.x > System Administration > Smartctl