"I need a HDD with failing SMART data" and other phrases indicative of moderately cursed software development projects

· · Web · 1 · 1 · 9

Actually, let's make this into a public request; if you have a HDD with failing SMART attributes of any sort, please run `smartctl --attributes --json` with a decently recent version (the nixpkgs one is definitely good enough) and send me the output!

(I'm specifically interested in how failing metrics are represented, so completely healthy drives are not useful here)

@joepie91 I actually had similar data back then but I threw away the broken disks, are you interested into that or do you exactly need the output of that command?

@raito I need specifically the output of the attributes in JSON format; other flags would not be a problem

@joepie91 are you in a rush? I have some older drives that I'm not 100% sure about, but it might be a while before I can check...

@max Somewhat :p I'm trying to avoid having to read source code to figure out the possible values for the failure state (for handling the output automatically)

@joepie91 I've got one! I've had a failing disk on my NAS which I keep delaying the replacement for.

paste.sr.ht/~zurdo/4b16a31b6e0

That's what I've found today when running the command. Apparently it fully died at some point in the last week, I hoped to find some actual data, but alas, I guess I'm finally replacing it today :chick_cosy_grumpy:

EDIT: Since zfs is fucking dumb I had to plug it again and I got actual data back this time

paste.sr.ht/~zurdo/ce227937d0e

@Zurdo Thanks! This is very helpful, and confirms what I suspected - the when_failed values are different in the JSON output compared to the plaintext output :)

(Now to find someone with a disk that is "failing now" and my data should be complete :p)

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.