This commit is contained in:
brent s 2017-10-09 14:46:47 -04:00
parent 300beededb
commit b489c69772

View File

@ -44,11 +44,11 @@ def chkDisk(disk):
if not diff >= timedelta:
d += '_secondary'
bb = ['badblocks',
'-o /var/log/badblocks/{0}.log'.format(d),
'-o', '/var/log/badblocks/{0}.log'.format(d),
disk]
smctl = ['smartctl',
'-t long',
'-d sat',
'-t', 'long',
'-d', 'sat',
disk]
for c in (bb, smctl):
subprocess.run(c)