How to exclude false S.M.A.R.T. warning (Micron 1100)

  • Hi, I have Wyse 5070 and Micron 1100 SSD. Drive is tested on many application including one from drive manufacturer and everything is OK.

    How can I exclude attribute with false positive error from smartctl? Attribute is 195 Cumulativ_Corrected_ECC

  • I tried add -i flag for parameter 195 in /usr/local/etc/smartd.conf and this doesn't make diefference.


    I see openmediavault auto generate /etc/smartd.conf, so adding this flag there is pointless.


    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.


    DEFAULT -a -o on -S on -T permissive -W 0,0,0 -n never,q

    /dev/disk/by-id/ata-Micron_1100_SATA_256GB_18061B0FF865

  • I created 30micronparameters.sls file:

    Code
    micron_parameters_replace:
      file.replace:
        - path: "/etc/smartd.conf"
        - pattern: "/dev/disk/by-id/ata-Micron_1100_SATA_256GB_18061B0FF865"
        - repl: "/dev/disk/by-id/ata-Micron_1100_SATA_256GB_18061B0FF865 -a -I 195"
        - count: 1
        - backslash_literal: True

    but when I try to deploy I got error:

    In docs I can see that path is a valid argument:

    Code
    salt.modules.file.replace(path, pattern, repl, count=0, flags=8, bufsize=1, append_if_not_found=False, prepend_if_not_found=False, not_found_content=None, backup='.bak', dry_run=False, search_only=False, show_changes=True, ignore_if_missing=False, preserve_inode=True, backslash_literal=False)
  • Ok, wrong docs.

    In salt.states.file (saltproject.io) it's name instead o path. Now deploy works.

    But drive still have Bad health status (with -i or -I parameter):

    Code
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    DEFAULT -a -o on -S on -T permissive -W 0,0,0 -n never,q
    /dev/disk/by-id/ata-Micron_1100_SATA_256GB_18061B0FF865 -a -i 195
    • Offizieller Beitrag

    Ok, wrong docs.

    In salt.states.file (saltproject.io) it's name instead o path. Now deploy works.

    But drive still have Bad health status (with -i or -I parameter):

    Code
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    DEFAULT -a -o on -S on -T permissive -W 0,0,0 -n never,q
    /dev/disk/by-id/ata-Micron_1100_SATA_256GB_18061B0FF865 -a -i 195

    What you've modified is the configuration for the disk monitoring done by smartmontools. This has no affect on other calls of smartctl.

    • Offizieller Beitrag

    So there is no chance to turn off that false nofitication?

    No; it's not possible to customize all smartctl calls spread across the source code. Maybe it is possible to teach smartmontools via their database. Check out

    - https://github.com/openmediava…9#issuecomment-1788959178

    - https://docs.openmediavault.org/en/stable/faq.html

    - After update from 6.9.6-1 to -2: SMART stopped working w error

    - RE: SMART statuses are not working on omv7, debian 12, raspi4

  • Thanks, I pasted part of database from smartctl drivedb.h with my drive in it and changed parameter "-v 195,raw48,Cumulativ_Corrected_ECC " to "-v 195,raw16:w543210,Bogus_ECC_Attribute ". Now I have status that drive is ok.

  • votdev

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!