-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart plugin working with Dell hardware RAID #45
Comments
Here is an attempt to patch the problem : #46 |
it looks like that in fact it is our
And I tried that because the command that check health |
And it is really weird because the
|
Ok my bad. We need to use |
I am also have this issue with the latest XCP-ng (8.3.0) and XO from the sources (commit 9af58). I am currently using a pair of Dell Poweredge R640s with a PERC h730 for the raid controller. Is there anything I can implement to fix this or has there been any update on a patch for this? |
You can follow the progress at #46 |
Thank you! |
Currently, the smartctl plugin doesn't work with a Dell hardware RAID controller. In that case, the
smartctl
command will return:So we should catch this very specific case to try using smartctl differently. Here is how to make it work. First, we need to
smartctl --scan
in order to find all the devices. This will return (for example):Now, we need to interate on all devices "megaraid" that exists, in our example 0 and 1:
and:
I suppose we could also try first to check if there's
/dev/bus/
devices and treat them if we detect them. In any case, we need to catch that error.The text was updated successfully, but these errors were encountered: