-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Trouble getting drives behind megaraid to show #366
Comments
Okay, well, it works when I add the So, apparently, it seems it's a permission issue. I suspected running the container in privileged mode is not the correct way to solve this issue. Any alternative ideas? Thanks! |
Just incase you havent seen it, here's my docs on megaraid3 I don't personally use a megaraid controller, so this is a bit hard to troubleshoot for me. I'll leave this open for other users to chime in. You might also consider posting your question in the Self-Hosted Discord |
I've been searching around the 'net regarding docker containers and |
Okay. I've been running this for about 20 days since my last post and thought I'd just leave a closing comment regarding running Scrutiny in a docker container with a MegaRAID (and perhaps other RAID controllers). The In the docker container you must also expose the RAID controller device to the container. For example, I had two RAIDs combined into one virtual drive (8 HDDs with 2 cache SSDs) to the Linux OS this virtual drive shows up as And you can use Instead, when you expose the the RAID controller to the container, use the Unfortunately, I've found that I can't use Now, on top of that, for In summary, what I've found is that to use Scrutiny as a docker container, if you're using a MegaRAID controller (perhaps others), you must run it in privileged mode. If that's a concern, then perhaps running Scrutiny on the host OS using the Manual Install method would be more appropriate for your situation. |
wow, thanks for the detailed troubleshooting notes @PriamX Thanks again! |
closing this as I've referenced it in the docs. Thanks again for your detailed comment @PriamX ! |
I have 10 drives behind an LSI/Avago/Broadcom MegaRAID 9361-16i adapter.
On the host, a
smartclt --scan
shows them just fine, the OS (Fedora 35) uses the RAID as/dev/sdc
:smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.19.4-100.fc35.x86_64] (local build)
In the docker container, they do not appear (I noticed the smartctl version is slightly older):
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.19.4-100.fc35.x86_64] (local build)
I have mapped
/dev/bus
through to the docker container, here's the docker command I'm using to deploy scrutiny:Here's the devices section from the
collector.yaml
I'm using:Here's the dashboard:
Has anyone got a MegaRAID to work with Scrutiny, if so, are there any tricks I'm missing?
Thanks!
The text was updated successfully, but these errors were encountered: