OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Hardware => Topic started by: Dan Eicher on July 30, 2025, 03:50:19 pm
-
I've looked into the various threads here, and it seems smartmon monitoring can be done with,
smartahci, pmsmartctrl and smartmonutils.
My first go-to is always ANPM.
Searching ANPM for SMART or SMART* doesn't return anything.
What is my best bet in 2025 on AOS 5.1.1 to read the smart values stored on a standard SSD?
I appreciate any feedback.
-
Hello
There is SmartMonTools_6-6r4424 in hobbes.
- https://hobbesarchive.com/?detail=/pub/os2/util/disk/SmartMonTools_6-6r4424.zip
The readme says:
If you are using DANIS506 driver use hdX device names, e.g.
smartctl -i hd0
If you are using OS2AHCI driver use ahciX device names, e.g.
smartctl -i ahci0
To get list of the drives in the system use "smartctl --scan" command.
More comments are welcome from people with more experience.
Regards
-
You may have to update the database from upstream which I think is available at https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase (https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase).
Also note, no support for nVME drives as the driver is lacking the interface.
-
Hey Dan!
The CLI stuff is out there (meaning available), but to ease with this stuff check out PMsmartctl:
Author: Peter Brown email: losepete@losepete.plus.com?subject=PMsmartctl
What Peter did was to build a nifty little util that does a quick pass through your system, gives you a list of available devices and lets you select what SMART info you want to get (which is ultimately produced as a TEXT file).
Very easy to use, good control. Since we did the initial testing for Peter here on the forum I'm not sure where he's gone with this (if anywhere else?).
-
Wonder how Peter is doing? Been a while since he posted
-
Hi All
Thanks for your concern Dave but I'm still alive and kicking - although I have developed a nasty case of "students elbow" which is a bit uncomfortable and slows my limited keyboard skills down somewhat :-)
No current plans on updating PMsmartctl - unless someone has a need for something not already included?
I checked the version of smartmontools I have installed and it is
smartctl 7.0 (build date Oct 19 2019) [i386-pc-os2-emx] (local build)
This came from http://rpm.netlabs.org/experimental/00/zip/smartmontools-7_0-1_oc00.zip
As netlabs seems to be down at the moment I've attached the above zip to this post.
Regards
Pete
-
Good things aren't too bad for you Pete, too many move on or worse and vanish.
As for PMsmartctl, what is needed are driver updates, eg nVME to get the smart data and then updated smartmon, all beyond your control.
-
>This came from http://rpm.netlabs.org/experimental/00/zip/smartmontools-7_0-1_oc00.zip
Ignorant question for any of you all.
Usually when I do an rpm -i under unix, it expects a file called *.rpm.
This zip, has what appears to be the files and locations where it needs installed.
How do I install this?
Thanks!
-
Install the netlabs-exp package with ANPM, then enable the exp repository and use ANPM to install it, or manually install following the directory structure. @unixroot, or %UNIXROOT% is simply the drive letter where your RPM environment is installed, probably C: in your case.
And yes, to quote Adrian,
Disks arrived & were put into the server today! I'm still working on the full replacement but everything worked well enough that I could boot up the VMs again!
I tested most services and from my point of view we are back. In case you disagree, let me know!
thanks again to Knut for the new disks!
-
Dan,
I recommend you hold off until the netlabs server is fully back online. My testing indicates that this is not yet happened. URLs that were available before the server went down are not yet visible including http://rpm.netlabs.org/release/ which is the top level directory for the released rpms. The same is true for http://rpm.netlabs.org/experimental/.
It's possible Adrian needed to take the server offline to finish up the recovery.
-
Hello
There is the public mailing list for netlabs ("community-subscribe@netlabs.org" if you want to subscribe).
Adrian posted (14 hours ago - 3:23am my time) that he swapped new disks and there is a sync process that it is taking time. Let's hope Netlabs gets back on the next days.
Regards
-
Success!
I was able to use ANPM, to enable netlab-exp.
Then I was able to install smartutils.