Badblock test showed as it had "passed", but after checking the log it actually had failed:
Running command: sudo -n badblocks -b 4096 -v -f -n /dev/sdb
Checking for bad blocks in non-destructive read-write mode From block 0 to 732566645 Testing with random pattern: 49052 65718 65720 65722 65731 66004 66018 110009837 110010192 110010198 110010221 110010558 110010893 111574244 111574248 111574251 111574256 Pass completed, 17 bad blocks found. (17/0/0 errors)
Other things that need to be improve:
Improve the logging similarly to the smartctl logs FAILURE: Test failed! 17 bad blocks found (17/0/0 errors)
--------------------------------------------------- From block 0 to 732566645 Testing with random pattern: 49052 65718 65720 65722 65731 66004 66018 110009837 110010192 110010198 110010221 110010558 110010893 111574244 111574248 111574251 111574256
Badblock test showed as it had "passed", but after checking the log it actually had failed:
Running command: sudo -n badblocks -b 4096 -v -f -n /dev/sdb
Checking for bad blocks in non-destructive read-write mode
From block 0 to 732566645
Testing with random pattern: 49052
65718
65720
65722
65731
66004
66018
110009837
110010192
110010198
110010221
110010558
110010893
111574244
111574248
111574251
111574256
Pass completed, 17 bad blocks found. (17/0/0 errors)
Other things that need to be improve:
Improve the logging similarly to the smartctl logs
FAILURE: Test failed! 17 bad blocks found (17/0/0 errors)
------- ------- ------- ------- ------- ------- ------- --
From block 0 to 732566645
Testing with random pattern: 49052
65718
65720
65722
65731
66004
66018
110009837
110010192
110010198
110010221
110010558
110010893
111574244
111574248
111574251
111574256