On Thu, Dec 07, 2017 at 02:58:32PM +0100, Andreas Klauer wrote: > Perhaps it's an intermittent error specific to your smartctl version? Looking at the source code, it seems to be a case of: sct supported, erc unsupported - exit 4 (fail) sct unsupported as a whole - exit 0 (success) So some drives will give the wrong exit code for this command. Should probably be reported as a bug to smartmontools. Regards Andreas Klauer -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html