Skip to content
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

Scrutiny not getting the data of all mapped drives #659

Closed
ManuXD32 opened this issue Jun 29, 2024 · 2 comments
Closed

Scrutiny not getting the data of all mapped drives #659

ManuXD32 opened this issue Jun 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ManuXD32
Copy link

Describe the bug
Some drives just doesn't appear, in my case are /dev/sda /dev/sdb and /dev/nvme0n1
This is my docker compose file:

version: '3.5'

services:
scrutiny:
container_name: scrutiny
image: ghcr.io/analogj/scrutiny:master-omnibus
cap_add:
- SYS_RAWIO
ports:
- "18080:8080" # webapp
- "8086:8086" # influxDB admin
volumes:
- /run/udev:/run/udev:ro
- ./config:/opt/scrutiny/config
- ./influxdb:/opt/scrutiny/influxdb
devices:
- "/dev/nvme0n1"
- "/dev/sda"
- "/dev/sdb"
- "/dev/sdc"
- "/dev/sdd"
- "/dev/sde"
- "/dev/sdf"
- "/dev/sdg"
- "/dev/sdh"

environment:
  - COLLECTOR_CRON_SCHEDULE=* 2 * * *

Expected behavior
All the drives appearing in the web UI

Is this an error on my end?

Thanks a lot in advance!!

@ManuXD32 ManuXD32 added the bug Something isn't working label Jun 29, 2024
@InnocentRain
Copy link

InnocentRain commented Jul 12, 2024

to see nvme drives you need to add SYS_ADMIN to your cap_add, also you need to edit your nvme drive to just "nvme0"

@ManuXD32
Copy link
Author

That was the issue. Thx!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants