bugHddtemp - Bugs: bug #53177, Drive doesn't seem to have a...


bug #53177: Drive doesn't seem to have a temperature sensor

Submitter:  akovia <akovia>
Submitted:  Sat 17 Feb 2018 02:01:40 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sat 17 Feb 2018 02:01:40 PM UTC, original submission:  

On most drives this is easy enough to fix using the --debug option and adding it to the database, but some drives out there are still not readable even with this option. The net is littered with posts about drives that can't be identified by either hddtemp or even hdparm -i, giving the error...

HDIO_GET_IDENTITY failed for '/dev/sd[x]': Invalid argument

Fortunately these drives can be identified by both smartctl and even udev ata_id, but that doesn't help you read the temp with hddtemp for use in scripts and monitoring tools that rely on hddtemp.

I realize this software has been abandoned, but maybe one day someone will pick up the torch and update the drive detection routines. If I had the chops to do it myself I would. Until then I will have to use a special smartctl script just for my one problem drive. (WD30EZRX-00MMMB0)

sudo smartctl -a /dev/sd[x] | awk '/Temperature/ {print $10}'

akovia <akovia>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by akovia (Submitted the item)
  • -email is unavailable- added by akovia

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-17 akovia Carbon-Copy- Added akovia

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code