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

[BUG] It didn't seem to be compatible with my RAID card: DELL or MegaRaid controller, please try adding '-d megaraid,N' #155

Closed
salamanders opened this issue Mar 23, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@salamanders
Copy link

Describe the bug
Errors during startup, then no devices listed

    "string": "Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please try adding '-d megaraid,N'",
    "severity": "error"

Expected behavior
I have a RAID card, and ~18 drives (mix of SSD and regular).
I had the same issue when trying to run smartctl directly, and was able to get it to work by modifying the command.

Log Files
Attached.
log.txt

@salamanders salamanders added the bug Something isn't working label Mar 23, 2021
@salamanders
Copy link
Author

Is this the same as issue #30 ?

@salamanders
Copy link
Author

$ sudo smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/sdc -d scsi # /dev/sdc, SCSI device
/dev/sdd -d scsi # /dev/sdd, SCSI device
/dev/bus/0 -d megaraid,0 # /dev/bus/0 [megaraid_disk_00], SCSI device
/dev/bus/0 -d megaraid,1 # /dev/bus/0 [megaraid_disk_01], SCSI device
/dev/bus/0 -d megaraid,2 # /dev/bus/0 [megaraid_disk_02], SCSI device
/dev/bus/0 -d megaraid,3 # /dev/bus/0 [megaraid_disk_03], SCSI device
/dev/bus/0 -d megaraid,4 # /dev/bus/0 [megaraid_disk_04], SCSI device
/dev/bus/0 -d megaraid,5 # /dev/bus/0 [megaraid_disk_05], SCSI device
/dev/bus/0 -d megaraid,6 # /dev/bus/0 [megaraid_disk_06], SCSI device
/dev/bus/0 -d megaraid,7 # /dev/bus/0 [megaraid_disk_07], SCSI device

@salamanders
Copy link
Author

I also tried #88 but no luck.

$ more /tmp/scrutiny-config/collector.yaml

version: 1

devices:
  - device: /dev/sda
    type: 'scsi'

  - device: /dev/sdb
    type: 'scsi'

  - device: /dev/bus/0
    type:
      - megaraid,0
      - megaraid,1
      - megaraid,2
      - megaraid,3
      - megaraid,4
      - megaraid,5
      - megaraid,6
      - megaraid,7
      - megaraid,8
      - megaraid,9
      - megaraid,10


@AnalogJ
Copy link
Owner

AnalogJ commented May 25, 2022

Would you mind taking a look at the device collector troubleshooting page:
https://github.com/AnalogJ/scrutiny/blob/master/docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md#raid-controllers-megaraid3warehbaadaptechpeetc

I'm hoping some of those examples will help you out.

@AnalogJ
Copy link
Owner

AnalogJ commented May 25, 2022

I'm going to close this issue, but feel free to comment/reopen if this is still a problem.

@AnalogJ AnalogJ closed this as completed May 25, 2022
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