Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] "Restart" preclear_disk.sh?

Featured Replies

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!

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.

 

  • 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!

 

 

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.

  • 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!

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.