Skip to content

check_smart reports false postive on my ssd #145

@edu-tsen

Description

@edu-tsen

The _check_smart() check:

grep -q "in[ _]progress" <<< "${smart_output}" && {
_log "INFO: Device ${hdd} is running SMART tests -> no shutdown"
return 1; }
reports false postive on my ssd with smartctl output:

root@omv:~# smartctl --all --nocheck=standby /dev/nvme0n1
smartctl 7.4 2024-10-15 r5620 [x86_64-linux-6.12.57+deb13-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 970 EVO Plus 500GB
Serial Number:                      S4EVNX0W462994T
Firmware Version:                   2B2QEXM7

...

Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
Num  Test_Description  Status                       Power_on_Hours  Failing_LBA  NSID Seg SCT Code
 0   Short             Completed without error                 116            -     -   -   -    -

supposedly due to line Self-test status: No self-test in progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions