Skip to content

smartctl-exporter error: DELL or MegaRaid controller, please try adding '-d megaraid,N'" #498

Description

@coccolesto

Description

smartctl-exporter cannot check raid disks on DELL PERC H730P Adapter

Charm revision

latest/stable

Juju version

3.6.12

Cloud

MAAS

Expected behaviour

/de/sdm is a raid disk on the PRC controller. so Ii normally use:

smartctl -a -d megaraid,0 /dev/sdm
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-151-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: AL15SEB060NY
Revision: EF09
Compliance: SPC-4
User Capacity: 600,127,266,816 bytes [600 GB]
Logical block size: 512 bytes
Formatted with type 2 protection
8 bytes of protection information per logical block
Rotation Rate: 10000 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000039988323f79
Serial number: 79E0A1WGFQWF
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Fri Jan 9 10:12:15 2026 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature: 28 C
Drive Trip Temperature: 65 C

Accumulated power on time, hours:minutes 41180:50
Manufactured in week 28 of year 2019
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 104
Specified load-unload count over device lifetime: 600000
Accumulated load-unload cycles: 104
Elements in grown defect list: 0

Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 19 19 19 42 2154098.429 0
write: 0 0 0 0 0 175883.917 0
verify: 0 0 0 0 0 149600.518 0

Non-medium error count: 105

SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)

1 Background long Completed - 2 - [- - -]

2 Background short Completed - 1 - [- - -]

Long (extended) Self-test duration: 3116 seconds [51.9 minutes]

Reproduce / Test

install the charm in a DELL server with PERC H730P Adapter and create a raid disk

Notes & References

full log
https://paste.ubuntu.com/p/TzfgZkY5yh/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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