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 826 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: 17657
Karma: 1611
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
vpx23
Jr. Member
Posts: 91
Karma: 7
Re: os-smart detects wrong device
«
Reply #4 on:
September 26, 2024, 06:24:11 pm »
The plugin also has to be updated for the new dashboard, it can't be selected in the widgets list.
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: os-smart detects wrong device
«
Reply #5 on:
September 26, 2024, 08:48:52 pm »
While this hint is pretty obvious the not so obvious reality is that a widget is already available in the development version but needs to be rewritten slightly to better fit the scope of the old widget before it can be released to 24.7.x.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
os-smart detects wrong device