Pool creation wizard should also schedule SMART tests behind the scenes
Since the wizard is all about automating best practices, and we've had a few systems die recently with multiple drive failures and the question was raised "Weren't you guys running SMART tests? Did anyone even look at the alert emails?!", it seems we could automate at least the first one.
#1 Updated by William Grzybowski over 6 years ago
- Status changed from Unscreened to Screened
Easy enough to do from the wizard but then a couple of questions come up.
What if you add another disk afterwards or replace a disk? Should we add an automatic smart test for every system detected in the system?
What is a good candidate for default SMART test type? Short Test? What about the frequency? Weekly, every sunday?
#2 Updated by Jordan Hubbard over 6 years ago
I think the wizard is already constrained to deal with your configuration at the time you run the wizard (same problem occurs if I use the wizard to create a pool, then add some drives; those drives will require manual addition to the pool and I think that's fine). So, in short, I would create smart tests for just those drives present at the time the wizard is run. If we want to figure out how to deal with the new drive / replacement drive scenario later, we can perhaps call the same "make smart test for drive X" function, so we should definitely make it a function that can be called not just from the wizard. I think the right value for test type and frequency is short / weekly.