I wanted to give a quick shout out to Spinrite. Great product created by Steve Gibson. I’ve used it to analyse drives when they start showing signs of wear. It’ll detect when your drive doesn’t have much life left in it.
You can also usually use it to recover data from your drive if it fails. It will frequently allow you to get it running again long enough to take that last backup when needed.
Level 2 for data recovery!
Level 4 for drive maintenance.