Skip to content

Smartctl has received an unknown argument (error code -22) #654

@masterlog80

Description

@masterlog80

Hello,
I am using microceph on Ubuntu 22.04.5 LTS on arm.
I have setup my CEPH cluster and enable the Dashboard, which correctly report the details of my environment.
However, once opening the Device health under Hosts after a few seconds I can see the below Warning:

Smartctl has received an unknown argument (error code -22). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.

The root cause seems pretty straightforward, however once I have checked the version of my smartmontools is updated:

❯ smartctl --version
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-6.6.0-rc5-rockchip-rk356x] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
....

And the command itself run (as sudo):

❯ sudo smartctl --all /dev/nvme0n1
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-6.6.0-rc5-rockchip-rk356x] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       SAMSUNG MZ9L4128HCHQ-00BH1
....
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        38 Celsius
....
Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Is there a way to have this working?

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions