Skip to content

hdd_reader#

Name#

hdd_reader - Read S.M.A.R.T. information for monitoring HDD temperature and life of HDD

Synopsis#

hdd_reader [OPTION]

Description#

Read S.M.A.R.T. information for monitoring HDD temperature and life of HDD.
This runs as a daemon process and listens to a TCP/IP port (7635 by default).

Options:
-h, --help
    Display help
-p, --port #
    Port number to listen to

Exit status:
Returns 0 if OK; non-zero otherwise.

Notes#

The 'hdd_reader' accesses minimal data enough to get Model number, Serial number, HDD temperature, and life of HDD.
This is an approach to limit its functionality, however, the functionality can be expanded for further improvements and considerations in the future.

[ATA]#

Purpose Name Length
Model number, Serial number IDENTIFY DEVICE data 256 words(512 bytes)
HDD temperature, life of HDD SMART READ DATA 256 words(512 bytes)

For details please see the documents below.

[NVMe]#

Purpose Name Length
Model number, Serial number Identify Controller data structure 4096 bytes
HDD temperature, life of HDD SMART / Health Information 36 Dword(144 bytes)

For details please see the documents below.

Operation confirmed drives#

  • SAMSUNG MZVLB1T0HALR (SSD)
  • Western Digital My Passport (Portable HDD)