January 14, 201412 yr Hit by accident Ctrl-C when pre clearing of a disk was at the final read stage (Post-reading)... Is there any way to re-start preclear_disk.sh from that point on to post read only the disk and still get the printed out statistics at the end? Thanks!
January 14, 201412 yr No, I don't think so (JoeL will hopefully chime in if that's wrong -- it's his program) ... but I THINK the stats from the pre-read will already be on the flash drive (check it). And you could simply generate a SMART report on the drive to see whether anything had changed up to the point where you stopped everything. Note that the actual pre-clear has been done ... that's finished before the post-read.
January 14, 201412 yr Author I could start the post read verify with ./preclear_disk.sh -V would then need the command to output the smart in the same format as saved to the flash and then diff between both.. Edit: Found the following leftovers in /tmp while grep'ing for the SN: /tmp/smart_mid_after_zero1_sdc /tmp/smart_mid_preread1_sdc /tmp/smart_start_sdc and saved to another directory... I guess I will do the ./preclear_disk.sh -V, do a smart report (will be the smart_finish_sdc, right? - what exactly is the command for that?) and do a diff between smart_start_sdc and smart_finish_sdc. Any other thoughts? Thanks again!
January 14, 201412 yr would then need the command to output the smart in the same format as saved to the flash and then diff between both.. The preclear_finish report is just a standard SMART report, no special formatting. Once the post read verify finishes, just pull a SMART report with smartctl.
January 14, 201412 yr Author would then need the command to output the smart in the same format as saved to the flash and then diff between both.. The preclear_finish report is just a standard SMART report, no special formatting. Once the post read verify finishes, just pull a SMART report with smartctl. Looking into JoeL's file - seem's he is executing smartctl -d ata -a /dev/sdc > /tmp/smart_finish_sdc to pull the report... THANKS!
January 14, 201412 yr Also explains why you found the other reports in tmp. Apparently his script doesn't move all the reports to /boot/preclear_reports until the entire preclear process is finished.
Archived
This topic is now archived and is closed to further replies.