Revision e016ce52
Added by David Sorber almost 8 years ago
| software/misc/checker.py | ||
|---|---|---|
|
# Parse out the 'state' line
|
||
|
raid_state = raw_out[11][18:].strip()
|
||
|
if raid_state != 'clean':
|
||
|
errors.append('/dev/{:s} not in "clean" state'.format(device))
|
||
|
errors.append('/dev/{:s} not in "clean" state ({:s})'
|
||
|
.format(device, raid_state))
|
||
|
|
||
|
output.extend(raw_out)
|
||
|
|
||
Add some debug to checker.py script.