|
From: Christian F. <Chr...@t-...> - 2016-02-15 17:45:04
|
Phil Richcreek wrote: > ... > CASE-1: > SMART overall-health self-assessment test result: PASSED > exit status: 0 > > CASE-2: > SMART overall-health self-assessment test result: PASSED > exit status: 32 > Please note the following marginal Attributes: > 190 Airflow_Temperature_Cel blah-blah-blah Old_age Always > In_the_past etc. > > Will ALL "marginally healthy" cases, as defined by smartctl -H, return > exit status 32 and PASSED text? Or, are there other exit status values > that might be returned in other "marginally healthy" cases? If -H is the only option specified, there should be no other return codes if the SMART STATUS command works and returns PASSED. In general, the return value of smartctl is a bitmask which may report several error conditions at once, If the SMART STATUS command returns FAILED, bit 3 is set. See section EXIT STATUS on smartctl man page for further details. Thanks, Christian |