6

I have set up a launchd job which checks my S.M.A.R.T. status.

After I installed iStat Menus my launchd job immediately threw me a popup saying me to backup all my files. I checked with Disk Utility and I saw S.M.A.R.T. status as Unsupported.

I immediately uninstalled iStat Menus using the official uninstaller and I found out that immediately after uninstalling that app my SMART status showed up SMART status: Verified. Phew!

Why did iStat Menus disable S.M.A.R.T.? Is there any specific reason I would like to know.

Here's how my script looks:

A=$( diskutil info disk0 | grep SMART )

if [ "$A" != "   SMART Status:             Verified" ]
then 

osascript -e 'tell application "Finder" to activate' -e 'tell application "Finder" to display dialog "Your Drive is failing, Please backup all your important files now" buttons {"OK"} with icon stop'
fi
  • 1
    macOS version? iStatMenus version? I don't see that behaviour with 10.13.2 and 6.0 (nor have I seen it with earlier versions). – Gilby Dec 26 '17 at 22:45
  • 1
    If it is a feature of iStat Menus itself, I recommend you to contact the app developers' support, in which case they could explain the logic behind it. If it comes to them as a surprise, letting them know about this oddity could still be valuable information to them, if it is an accidental bug that they could fix for a future version of iStat Menus. – user158589 Feb 1 '18 at 14:45
  • Sounds like your hard disk isn't fully supported. What Mac configuration do you use? Did you already get in touch with the developer bjango.com/help? – howdytom Feb 6 '18 at 10:11
1
+50

Why did iStat Menus disable S.M.A.R.T.?

Nothing can disable S.M.A.R.T. It is a technology built into the firmware of your HDD or SDD that reports on the health of your drive. It's not something that can be disabled.

After I installed iStat Menus my launchd job immediately threw me a popup saying me to backup all my files. I checked with Disk Utility and I saw S.M.A.R.T. status as Unsupported.

This is because there is a system service residing at the hardware layer that's intercepting responses from the drive's S.M.A.R.T. reporting. Disk Utility is attempting to send a request to the drive to report back on it's status and iStat Menu is (for a lack of a better word) grabbing the result; no result comes back - thus it's "Unsupported."

Regarding your script....

While your script in and of itself is good, Disk Util's "S.M.A.R.T. Status = Verified" is nothing more than the "check engine light" on a car's dashboard. It tells you something is wrong, but not what and only after something has failed. This is about as useful as closing the barn door after the horse escaped.

S.M.A.R.T. has a number of attributes that Disk Util doesn't monitor nor report on. To get comprehensive reporting and more granular data as well as thresholds that will warn you of impending failures, look to tools specifically made for this type of task.

I have personally used the built-in Disk Util to get the S.M.A.R.T. status in a pinch. However, I prefer the "pro" tools designed specifically for this type of task. Smartmontools is sufficient for me, but for clients who aren't comfortable with a CLI, I recommend either Disk Drill or Drive Dx

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .