xcp-ng / xcp

Entry point for issues and wiki. Also contains some scripts and sources.
https://xcp-ng.org
1.26k stars 74 forks source link

Error with smartctl on Dell/Megaraid #660

Open 1234Erwan opened 3 weeks ago

1234Erwan commented 3 weeks ago

I have the latest version of xcp-ng 8.3 but the smartctl dosent appear in my plugins list and i have this error in loop in the logs. 2024-08-20T19_57_27.049Z - XO.log

stormi commented 3 weeks ago

The relevant error message is Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'

So it shows the current plugin implementation is not appropriate for such hardware at the moment.

See also: https://unix.stackexchange.com/questions/485463/smartctl-megaraid-n-how-to-find-the-right-value-for-n

stormi commented 3 weeks ago

CC @ataxyanetwork who contributed the plugin initially and @gthvn1 who improved it for XCP-ng.

stormi commented 3 weeks ago

See also https://github.com/xcp-ng/xcp-ng-xapi-plugins/issues/45