Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
os-smart detects wrong device
« previous
next »
Print
Pages: [
1
]
Author
Topic: os-smart detects wrong device (Read 514 times)
Stormscape
Newbie
Posts: 12
Karma: 3
os-smart detects wrong device
«
on:
July 26, 2024, 01:01:15 pm »
With 24.7, the os-smart plugin wrongly detects which dev file to query for SMART data for nvme devices, showing the only option as /dev/nda0, instead of /dev/nvme0, resulting in a failure to query the SSD correctly for SMART data.
Of course if you connect via ssh and run smartctl directly against /dev/nvme0, it will correctly return SMART data, but with /dev/nda0 you of course just get this:
Code:
[Select]
Smartctl open device: /dev/nda0 failed: INQUIRY failed
Logged
CursorBeat
Newbie
Posts: 2
Karma: 0
Re: os-smart detects wrong device
«
Reply #1 on:
July 28, 2024, 11:00:12 pm »
I can confirm this. Tested with DEC740
Maintainer: franco@opnsense.org
Did you wrote him already?
Logged
Stormscape
Newbie
Posts: 12
Karma: 3
Re: os-smart detects wrong device
«
Reply #2 on:
August 12, 2024, 04:34:24 am »
For those stumbling across this thread via Google, or reading the forums: A pull request has been submitted to the Github at this
elegant and finely crafted link.
It fixes the issue and so it'll be fixed soon. Still waiting on widget.
Logged
franco
Administrator
Hero Member
Posts: 17385
Karma: 1579
Re: os-smart detects wrong device
«
Reply #3 on:
August 12, 2024, 08:47:28 am »
https://github.com/opnsense/plugins/commit/016bf27cb5
# opnsense-patch -c plugins 016bf27cb5
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
os-smart detects wrong device