AnalogJ / scrutiny

Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds
MIT License
5.44k stars 172 forks source link

[FEAT] SMR/CMR/PMR/ detection #159

Open Marx2 opened 3 years ago

Marx2 commented 3 years ago

Is your feature request related to a problem? Please describe. It would be nice to see if any of my drives is of SRM type

Describe the solution you'd like There are lists with SRM drives. As Scrutiny already collects data from b2 and use it to display reliability of drive, it can also in similar way display SRM info

AnalogJ commented 3 years ago

this would be interesting. Do you know if there's a tool that can detect SMR/CMR/PMR/etc? I don't think smartctl can do so.

Marx2 commented 3 years ago

I'm not aware of a tool. It's more like some message boards have lists of good and bad serial numbers, like here: https://nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/

joe-eklund commented 3 years ago

Looks like one clue is if the drive reports as TRIM capable. CMR drives cannot do this, so we know it is SMR if it is TRIM capable. Source.

I have not personally tested this (as I don't have any SMR drives). This person on Reddit also stated that the absence of TRIM is not enough to know if something is not SMR, just that if it does exist than it is SMR. They also go on to recommend some tests that one can do.

Hopefully this info helps you.

AnalogJ commented 3 years ago

I'm happy to add functionality that collects additional useful metadata from disks and displays it in the scrutiny dashboard, however it would have to be automated in some way.

Keeping track of serial numbers/model numbers just doesn't scale given the wide variety of environments that Scrutiny is deployed in.

If we can find a maintained tool/script that can output this disk information, I'm happy to add it, until then I don't foresee this functionality being included in Scrutiny.