SMART status

jarednichols
Honored Contributor

Is there a good way to make a smart group based on SMART status of just the boot drive? I can do the smart status, but if someone has a disk image mounted or external disk mounted, my flag of "is not" verified will get tripped. Is it limitable to the boot drive?

j
---
Jared F. Nichols
Desktop Engineer, Infrastructure and Operations
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

6 REPLIES 6

jarednichols
Honored Contributor

I think I may have it, but I need a sanity check. How's this look? I don't think I'm not familiar enough with SMART to know what not to look for
J

milesleacy
Valued Contributor

Dummy receipts?
...and yes. That is my answer for everything. Well, almost.

----------
Miles A. Leacy IV

? Certified System Administrator
? Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com

tlarkin
Honored Contributor

In your script could you not just specify the device node? I mean OS X
is almost always going to be /dev/disk0s2 on a default install. Or I
guess you could pipe out a grep that only checks the boot volume?

Or how Miles put it, a dummy receipt

Not applicable

Sounds like you're over-complicating it to me. The boot drive (or any internal drive) will be the only ones that can have a status of "Failing". Scope your smart group to that.

Bukira
Contributor

Yes that's what I do, and I only have 1 internal drive

Criss

KCH080208
New Contributor II

I cannot find an example of this anyone on the boards. Is there a link somewhere to show the smart status as an extension attribute?