Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#817 closed defect (fixed)

Smard : Failed to read Temperature

Reported by: hetsalgood Owned by: Christian Franke
Priority: minor Milestone: Release 6.6
Component: smartd Version: 6.5
Keywords: scsi Cc:

Description (last modified by Christian Franke)

I received the below messages at every 30 minutes.

And I'm not changed smartd.conf file.

HPE DL580 Gen9 & SUSE 12 SP1

smartd[64688]: Device: /dev/sda, failed to read Temperature
smartd[64688]: Device: /dev/sdb, failed to read Temperature
smartd[64688]: Device: /dev/sdc, failed to read Temperature
smartd[64688]: Device: /dev/sdd, failed to read Temperature

 
 smartctl -a /dev/sda
smartctl 6.2 2013-11-07 r3856 [x86_64-linux-3.12.69-60.64.32-default] (SUSE RPM)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              LOGICAL VOLUME
Revision:             4.04
User Capacity:        1,200,210,141,184 bytes [1.20 TB]
Logical block size:   512 bytes
Logical Unit id:      0x600508b1001ce7f861935ed955ece6be
Serial number:        0014380400C02F0
Device type:          disk
Local Time is:        Tue Mar 14 16:05:07 2017 KST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Error Counter logging not supported

Device does not support Self Test logging

Attachments (1)

smartd-ticket817.patch (904 bytes ) - added by Christian Franke 7 years ago.
Proposed patch

Download all attachments as: .zip

Change History (14)

comment:1 by Christian Franke, 7 years ago

Description: modified (diff)

in reply to:  description comment:2 by Christian Franke, 7 years ago

Component: allsmartd
Milestone: undecided

Please provide output of smartd -q onecheck as an attachment to this ticket.

comment:3 by hetsalgood, 7 years ago

Add comments;

 smartd -q onecheck
smartd 6.2 2013-11-07 r3856 [x86_64-linux-3.12.69-60.64.32-default] (SUSE RPM)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Opened configuration file /etc/smartd.conf
Drive: DEVICESCAN, implied '-a' Directive on line 26 of file /etc/smartd.conf
Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
glob(3) found no matches for pattern /dev/hd[a-t]
glob(3) found no matches for pattern /dev/sd[a-c][a-z]
Device: /dev/sda, opened
Device: /dev/sda, [HP       LOGICAL VOLUME   4.04], lu id: 0x600508b1001ce7f861935ed955ece6be, S/N: 0014380400C02F0, 1.20 TB
Device: /dev/sda, does not support SMART Self-Test Log.
Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Device: /dev/sda, state read from /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdb, opened
Device: /dev/sdb, [HP       LOGICAL VOLUME   4.04], lu id: 0x600508b1001cff671e481b27598c91d8, S/N: 0014380400C02F0, 2.40 TB
Device: /dev/sdb, does not support SMART Self-Test Log.
Device: /dev/sdb, is SMART capable. Adding to "monitor" list.
Device: /dev/sdb, state read from /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdc, opened
Device: /dev/sdc, [HP       LOGICAL VOLUME   4.04], lu id: 0x600508b1001c570d0fd428cb6bdddbe7, S/N: 0014380400C02F0, 2.40 TB
Device: /dev/sdc, does not support SMART Self-Test Log.
Device: /dev/sdc, is SMART capable. Adding to "monitor" list.
Device: /dev/sdc, state read from /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdd, opened
Device: /dev/sdd, [HP       LOGICAL VOLUME   4.04], lu id: 0x600508b1001c61cecc4dd3c23d025121, S/N: 0014380400C02F0, 800 GB
Device: /dev/sdd, does not support SMART Self-Test Log.
Device: /dev/sdd, is SMART capable. Adding to "monitor" list.
Device: /dev/sdd, state read from /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Monitoring 0 ATA and 4 SCSI devices
Device: /dev/sda, opened SCSI device
Device: /dev/sda, SMART health: passed
Device: /dev/sda, failed to read Temperature
Device: /dev/sdb, opened SCSI device
Device: /dev/sdb, SMART health: passed
Device: /dev/sdb, failed to read Temperature
Device: /dev/sdc, opened SCSI device
Device: /dev/sdc, SMART health: passed
Device: /dev/sdc, failed to read Temperature
Device: /dev/sdd, opened SCSI device
Device: /dev/sdd, SMART health: passed
Device: /dev/sdd, failed to read Temperature
Device: /dev/sda, state written to /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdb, state written to /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdc, state written to /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Device: /dev/sdd, state written to /var/lib/smartmontools/smartd.HP-LOGICAL_VOLUME-0014380400C02F0.scsi.state
Started with '-q onecheck' option. All devices sucessfully checked once.
smartd is exiting (exit status 0)
Last edited 7 years ago by Christian Franke (previous) (diff)

comment:4 by Christian Franke, 7 years ago

Keywords: scsi added
Milestone: undecidedRelease 6.6

There is actually a minor bug in the SCSI code of smartd: If the drive does not support temperature monitoring and attribute logs are enabled, bogus ... failed to read Temperature messages are printed.

Workaround: Disable the attribute log:
If not enabled by default, remove -A PREFIX option from smartd command line. Otherwise add -A option with empty string as argument (smartd -A '').

BTW: It may not make much sense to track logical RAID volumes unless its firmware exposes physical drive problems in logical drive status. For HP controllers, smartctl -d cciss,N ... may work to access physical drives. See smartctl man page for details.

comment:5 by hetsalgood, 7 years ago

Thanks your support.
Is there fixed patch?

by Christian Franke, 7 years ago

Attachment: smartd-ticket817.patch added

Proposed patch

comment:6 by Christian Franke, 7 years ago

Please test attached patch if possible.

comment:7 by hetsalgood, 7 years ago

OK, I'll test next week. And update you. Thank you.

comment:8 by Christian Franke, 7 years ago

Owner: set to Christian Franke
Status: newaccepted

comment:9 by lynxchaus, 7 years ago

Tested on server with aacraid volumes - no more "failed" messages.

comment:10 by Christian Franke, 7 years ago

Resolution: fixed
Status: acceptedclosed

comment:11 by Christian Franke, 7 years ago

Related: r4412, r4413.

comment:12 by hetsalgood, 7 years ago

Excuse me, How apply this patch?

comment:13 by Christian Franke, 7 years ago

Note: See TracTickets for help on using tickets.