Reading S.M.A.R.T parameters from a drive

Just starting out? Need help? Post your questions and find answers here.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Reading S.M.A.R.T parameters from a drive

Post by blueznl »

I've been looking into SSDs and their behavior lately, and I'm considering writing a simple tool for some testing. For this I'd like to read some S.M.A.R.T parameters from the drive. To be more specific:

1. SMART Temperature - This is a clear indicator if the controller is busy or not. Interestingly, SSDs may do passive garbage recollection after 6 to 8 hours of being idle, so if I could monitor the temperature over a longer period of time, I might spot the moment when a drive starts doing passive garbage recollection.

2. SMART Data written - Can be used for a similar purpose. If the OS has been idle for a longer period of time, and this number increases, then that means the drive is doing garbage recollection.

3. Windows disc acitivity - Not sure how to get my fingers on this, but if the SMART parameter above starts changing (seriously), and this one doesn't (or at least marginally), then that means the drive is doing something by itself.

It's all just an idea, but did anyone ever try to read SMART parameters from an SSD?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Piero
Addict
Addict
Posts: 1040
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Reading S.M.A.R.T parameters from a drive

Post by Piero »

Ur scaring ppl into making backups, but that's a good thing
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Reading S.M.A.R.T parameters from a drive

Post by blueznl »

It is :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply