Comment 4 for bug 1783889

Revision history for this message
Tyler Gray (tyler.gray) wrote :

A few things to note:
1) Scratch the last suggestion of "return (proc.returncode & 187)", that would mask the error even if more than just bits 2 and 6 were flagged from a failure.

2) According to the man page for smartctl, any error present in a log, even past ones, will continue to flag the 6th bit (with the 8 bits marked as 0-7). So even if there are errors that are in the log, but nothing that is actively wrong with the disk, the smartctl error will still flag the 6th bit, causing the exit code to be 64 when translated from binary.

I'll post a failed log for you when I get a chance.