mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Don't check SMART attribute 188 for all Seagate disks
Also IronWolf disks, like Archive don't report reliable values.
This commit is contained in:
parent
f778fb691f
commit
8295788686
1 changed files with 4 additions and 5 deletions
|
|
@ -486,14 +486,13 @@ static double smart_afr(uint64_t* smart, const char* model)
|
|||
|
||||
if (
|
||||
/**
|
||||
* Don't check Command_Timeout (188) for Seagate SMR (Shingled
|
||||
* Magnetic Recording) disks.
|
||||
* Don't check Command_Timeout (188) for Seagate disks.
|
||||
*
|
||||
* It's reported by users to be a not significative test as
|
||||
* It's reported by users that for Archive SMR (Shingled Magnetic Recording)
|
||||
* and IronWolf disks to be a not significative test as
|
||||
* this value increases too often also on sane disks.
|
||||
*/
|
||||
strcmp(model, "ST8000AS0002-1NA17Z") != 0
|
||||
&& smart[188] != SMART_UNASSIGNED
|
||||
strncmp(model, "ST", 2) != 0 && smart[188] != SMART_UNASSIGNED
|
||||
) {
|
||||
/* with Seagate disks, there are three different 16 bits value reported */
|
||||
/* the lowest one is the most significant */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue