I have a busy server with a RAID 1 setup. The application (runs in PHP) is very read/write intensive to the database (MariaDB).
A cronjob runs smartctl
short test every day and checks the output of smartctl -H
and mdadm -D
.
I would like to run a long test sometimes, but I am concerned about its performance impact. I read that it can take several hours to complete. If it causes server performance to degrade while it runs, my users will be affected for 5+ hours.
So, a few questions here:
1) Do long smart tests usually impact performance that can be significant to users?
2) Since I have RAID 1 and do short tests, are long tests still necessary?
3) Is there a way to stop a long test if I find it is causing trouble on server performance?
From the 'smartctl(8)' manual page:
(I think you can also abort if you see "Suspend Offline collection upon new command"; I think the man page needs to be updated.) You can check for that capability via: