id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 1523,Schrodinger's test - Captive tests fail when Smart is checked,Kevin C,,"I am trying to run Captive tests on my Synology drives, because Short Offline (background) don't show any problem, and when I have tried Extended Offline - they ran for months without finishing. I have several sectors pending relocation, but they never seemed to relocate. However, I've found that Short Captive tests will tell me once it hits a bad block, and then I can go and force the issue with hdparm on that LBA, and repeat the process to clear the pending relocation sectors. [[Image(https://i.imgur.com/CUQDXok.png)]] The commands I am using are these {{{ #start the test smartctl -t short -C /dev/sda -d ata }}} wait a while (Generally about 10 minutes to an hour) and then check if it is done with {{{ #Check disk information smartctl -a /dev/sda -d ata }}} if the tests were done, you should get badblock LBA information - but if they weren't then presumably the commands requesting SMART are failing to return in time, and causing the host reset it mentions interrupting the test. use HDParm to forcibly fix or relocate the sector {{{ hdparm --repair-sector 218492585 --yes-i-know-what-i-am-doing /dev/sda }}} My main uncertainty is that as you can see from the screenshot - I often accidentally check if the test is done running before it has finished, which seems to cause the driver/drive to interrupt the captive test and prevent it finishing, is there some way that would be better to check if a Captive test is still in progress? Until then, I am calling this Schrodinger's Test - we don't know if it's still alive or errored or if checking killed it by checking until we check ",enhancement,new,minor,undecided,smartctl,6.5,,ata,