Discussion:
[smartmontools-support] smartd and smartctl - SMART status command failure
Naveen
2016-05-31 04:51:57 UTC
Permalink
Hi,

When I run smartctl it reported below error and same with smartd.

START OF READ SMART DATA SECTION ===
SMART Status command failed Please
get assistance from http://smartmontools.sourceforge.net/
Register values returned from SMART Status command are:
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00 SMART
Status not supported: Invalid ATA output register values SMART
overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

Similarly smartd reported:
Device: /dev/sdc, type changed from 'scsi' to 'sat'
Device: /dev/sdc [SAT], opened
Device: /dev/sdc [SAT], HGST HUS726060ALN610, S/N:NAHYUEUX,
WWN:5-000cca-242dba5c9, FW:APGNT7J0, 6.00 TB
Device: /dev/sdc [SAT], not found in smartd database.
SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
Register values returned from SMART Status command are:
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
Device: /dev/sdc [SAT], not capable of SMART Health Status check Unable to
register ATA device /dev/sdc [SAT] at line 23 of file /etc/smartmontools
/smartd.conf

It appears "smartctl" though failed the SMART status command, it checked the
attribute threshold values and indicated "Disk is OK" but smartd doesn't do
the latter and bails out as soon as SMART status command failed? Is that
understanding correct?

My questions are:
1) What causes the above error and any solutions to overcome this and
monitor the drive?
2) Given the above error looks like "smartd" doesn't do any monitoring on
the device in this case, hence if we still want to monitor the device can we
modify it to check the attribute values similar to how smartctl does? Just
as an experiment?
3)How to update the drives in the database since smartctl complains the
drives are missing in its database.
4)How to inject SMART errors to simulate and test SMART errors are being
monitored and reported

Appreciate your help and Thanks in advance. The log files attached with this
mail are reported with debug and ioctl options.

Thanks & regards,
Naveen Karthick.C
Naveen
2016-05-31 05:35:31 UTC
Permalink
This post might be inappropriate. Click to display it.
Naveen
2016-06-03 06:12:16 UTC
Permalink
Hi,

Still waiting for a response. Can any of the experts clarify on this?
Thanks in advance.

thanks,
Naveen
Christian Franke
2016-06-04 15:44:29 UTC
Permalink
Post by Naveen
When I run smartctl it reported below error and same with smartd.
START OF READ SMART DATA SECTION ===
SMART Status command failed Please
get assistance from http://smartmontools.sourceforge.net/
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00 SMART
Status not supported: Invalid ATA output register values SMART
overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
Device: /dev/sdc, type changed from 'scsi' to 'sat'
Device: /dev/sdc [SAT], opened
Device: /dev/sdc [SAT], HGST HUS726060ALN610, S/N:NAHYUEUX,
WWN:5-000cca-242dba5c9, FW:APGNT7J0, 6.00 TB
Device: /dev/sdc [SAT], not found in smartd database.
SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
Device: /dev/sdc [SAT], not capable of SMART Health Status check Unable to
register ATA device /dev/sdc [SAT] at line 23 of file /etc/smartmontools
/smartd.conf
It appears "smartctl" though failed the SMART status command, it checked the
attribute threshold values and indicated "Disk is OK" but smartd doesn't do
the latter and bails out as soon as SMART status command failed? Is that
understanding correct?
1) What causes the above error and any solutions to overcome this and
monitor the drive?
Debug output for SMART STATUS CHECK from your 2nd mail suggests that the
SAT layer of this (which?) controller's driver or firmware does not
properly return ATA output registers in the SCSI sense data. See this
ticket for details:
https://www.smartmontools.org/ticket/612#comment:1

Smartmontools 6.5 should detect this problem and print "Incomplete
response, ATA output registers missing" instead of the above message.
Post by Naveen
2) Given the above error looks like "smartd" doesn't do any monitoring on
the device in this case, hence if we still want to monitor the device can we
modify it to check the attribute values similar to how smartctl does? Just
as an experiment?
Checking for failure of individual pre-fail attributes is not
implemented in smartd. Try to enable tracking of attribute values
instead. See smartd.conf directives -a -f -p -u -t -R on smartd.conf man
page.
Post by Naveen
3)How to update the drives in the database since smartctl complains the
drives are missing in its database.
https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase
Post by Naveen
4)How to inject SMART errors to simulate and test SMART errors are being
monitored and reported
This is not possible.

Thanks,
Christian
naveen
2016-06-07 09:23:26 UTC
Permalink
Post by Christian Franke
Debug output for SMART STATUS CHECK from your 2nd mail suggests that the
SAT layer of this (which?) controller's driver or firmware does not
properly return ATA output registers in the SCSI sense data. See this
.
This is a LSI Logic SAS3008 PCI-Express Fusion-MPT SAS-3 controller
Post by Christian Franke
See smartd.conf directives -a -f -p -u -t -R on smartd.conf man
page.
Thanks for the help. Appreciate it.

regards,
Naveen

Naveen Karthick Chandrasekaran
2016-05-30 10:51:34 UTC
Permalink
Hi,

When I run smartctl it reported below error and same with smartd. It appears "smartctl" though failed the SMART status command, it checked the attribute threshold values and indicated "Disk is OK" but smartd doesn't do the latter and bails out as soon as SMART status command failed? Is that understanding correct?

My questions are:
1) What causes the above error and any solutions to overcome this and monitor the drive?
2) Given the above error loks like "smartd" doesn't do any monitoring on the device hence if we still want to monitor the device can we modify it to check the attribute values similar to how smartctl does? Just as an experiment?
3)How to update the drives in the database since smartctl complains the drives are missing in its database.

Appreciate your help and Thanks in advance. The log files attached with this mail are reported with debug and ioctl options.

=== START OF READ SMART DATA SECTION ===
SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
Register values returned from SMART Status command are:
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
SMART Status not supported: Invalid ATA output register values
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

Similarly smartd reported:

Device: /dev/sdc, type changed from 'scsi' to 'sat'
Device: /dev/sdc [SAT], opened
Device: /dev/sdc [SAT], HGST HUS726060ALN610, S/N:NAHYUEUX, WWN:5-000cca-242dba5c9, FW:APGNT7J0, 6.00 TB
Device: /dev/sdc [SAT], not found in smartd database.
SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
Register values returned from SMART Status command are:
ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
Device: /dev/sdc [SAT], not capable of SMART Health Status check
Unable to register ATA device /dev/sdc [SAT] at line 23 of file /etc/smartmontools/smartd.conf

--------------------------------------------------
Thanks & regards,
Naveen Karthick.C
Loading...