8000 Can we get NVMe device's nvme log which behind the MegaRAID? · Issue #274 · smartmontools/smartmontools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can we get NVMe device's nvme log which behind the MegaRAID? #274

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

Open
jinhuahuang2021 opened this issue Jul 19, 2024 · 3 comments
Open

Can we get NVMe device's nvme log which behind the MegaRAID? < 8000 span class="gh-header-number color-fg-muted pl-1">#274

jinhuahuang2021 opened this issue Jul 19, 2024 · 3 comments

Comments

@jinhuahuang2021
Copy link

Hi,

As the reference:
https://patchwork.kernel.org/project/linux-scsi/patch/1515159339-26790-1-git-send-email-shivasharan.srikanteshwara@broadcom.com/

Can we have a way by updating smartctl to get device's nvme log or send nvme command which NVMe device behind the MegaRAID?

smartctl -r nvmeioctl,2 --scan

glob(3) error 3 for pattern /dev/hd[a-t]
glob(3) error 3 for pattern /dev/sd[a-c][a-z]
glob(3) error 3 for pattern /dev/nvme[0-9]
glob(3) error 3 for pattern /dev/nvme[1-9][0-9]
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, 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

@chrfranke
Copy link

Currently smartmontools does not support any NVMe RAID controller.
Is any NVMe pass-through functionality for MegaRAID available on Linux?
The mail thread linked above suggests that this is still not the case.

@samm-git
Copy link
Contributor

@jinhuahuang2021 according to what i see - patch was incorporated, see https://github.com/torvalds/linux/blob/master/drivers/scsi/megaraid/megaraid_sas_base.c

However, I do not have any access to such devices. If you can provide some ssh with root to non-prod devices running such hardware - I can take a look.

@jinhuahuang2021
Copy link
Author

@chrfranke got it. Thanks.

@samm-git I am afraid not. The hardware is on the Intranet and can not be accessed externally.

5CCA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0