SMR Alerts: Disk/Model desync from NAS?
Description
created by
relates to
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity

Basil Hendroff November 15, 2021 at 1:50 AM
@Ken Moore I haven't seen this issue resurface so I can only assume the issue is resolved. There's no easy way for me to test this.

Basil Hendroff October 14, 2021 at 1:05 AM(edited)
@Ken Moore Thanks for the reference. The list of SMR drives is extensive across the leading drive manufacturers WD, Seagate, Toshiba, WD 'Ultrastar' (formerly HGST). particularly if you include shucked drives. I keep an extensive database in this script https://github.com/basilhendroff/truenas-smr-check/blob/main/smr-check.sh starting around line 52.

Ken Moore October 5, 2021 at 7:22 PM
@Basil Hendroff: Please see https://ixsystems.atlassian.net/browse/TC-1835#icft=TC-1835 for information related to updating the SMR regex list.

Basil Hendroff June 26, 2021 at 6:34 PM(edited)
@Ken Moore Not that this changes the observed issue, but I wonder if the SMR model regexs mention in the linked post is complete? https://jira.ixsystems.com/browse/TC-1764?focusedCommentId=134353&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-134353
"smr-regex" : [
{"model" : "(WDC WD)(20|30|40|60)(EFAX)-.+"},
{"model" : "(WDC WD)(20|60)(EZAZ)-.+"},
{"model" : "(WDC WD)(10|20)(SPZX)-.+"},
{"model" : "(WDC WD)(10)(SPSX)-.+"}
]
If the references below are considered accurate...
https://www.truenas.com/community/resources/list-of-known-smr-drives.141/
https://nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/
...then the SMR model regexes should probably be expanded to look like the following:
"smr-regex" : [
{"model" : "(WDC WD)(20|30|40|60)(EFAX)-.+"},
{"model" : "(WDC WD)(20|30|40|60)(EZAZ)-.+"},
{"model" : "(WDC WD)(10|20)(SPZX)-.+"},
{"model" : "(WDC WD)(10)(SPSX)-.+"}
{"model" : "(WDC WD)(9000)(LPZX)-.+"}
{"model" : "(WDC WD)(5000)(LPSX)-.+"}
{"model" : "(WDC WD)(40|60)(EDAZ)-.+"}
{"model" : "(WDC WD)(60)(EMAZ)-.+"}
{"model" : "(WDC WD)(10)(SPWX)-.+"}
{"model" : "(WDC WD)(40)(NPZZ)-.+"}
]
Details
Details
Assignee

Reporter

After replacing an SMR disk on a NAS, the NAS appears to still be reporting the old device/model info.
Process:
TC reports SMR disk within NAS
User replaced disk in NAS with a non-SMR disk
User deletes the alert on TC
User restarts the connection between TC and the NAS
TC generates another alert for the same/old disk.
Debugging notes:
The TC SMR scanning routine always fetches a new/clean list of the disks from the NAS using the "disk.query" API before checking the models.
Running the "disk.query" API from the NAS console returns the correct disk information.
We have checked the SMR regex rules and verified that none of the rules match the new model info from the NAS output.