Discussion:
[smartmontools-support]smartctl_exit_status
Gabriele Pohl
2005-08-17 09:42:55 UTC
Permalink
Hi all,

for my damaged disk I get
smartctl_exit_status = 24
on Health-Check

which is 11000 in Binary Format.

As you see Bit 3 _and_ 4 is turned on,
which means following the man-page:

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: SMART status check returned "DISK OK" but we found
prefail Attributes <= threshold.

So the status check returned
DISK FAILING _and_ DISK OK

Can that be?

-------------------- 8< --------------------
***@jupiter munin]# smartctl -H /dev/hdb
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C)
2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
Failed Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 001 001 063
Pre-fail Always FAILING_NOW 637

24
-------------------- 8< --------------------

*irritated*
Gabriele
Christian Franke
2005-08-17 14:54:35 UTC
Permalink
Hi,
Post by Gabriele Pohl
for my damaged disk I get
smartctl_exit_status = 24
on Health-Check
which is 11000 in Binary Format.
As you see Bit 3 _and_ 4 is turned on,
Bit 3: SMART status check returned "DISK FAILING".
Bit 4: SMART status check returned "DISK OK" but we found
prefail Attributes <= threshold.
So the status check returned
DISK FAILING _and_ DISK OK
Can that be?
You're right, code and documentation are not consistent here.

Loading...