Recovery Phases - ISpillMyDrink/OpenSuperClone GitHub Wiki

Phase 1

Phase 1 is a forward copy pass with skipping based on read errors.

Phase 2

Phase 2 is a backward copy pass with skipping based on read errors.

Phase 3

Phase 3 is a forward copy pass with skipping based on the read rate.

Phase 4

Phase 4 is a forward copy pass without skipping.

Trimming

All failed blocks larger than one sector in size are marked as non-trimmed by the previous phases. Trimming reads each non-trimmed sector at a time forward until a read error occurs, and then backward until a read error occurs. Any trimmed blocks larger than one sector are marked as non-scraped.

Dividing

Dividing is only performed when Trimming is disabled.

Scraping

Scraping reads all non-scraped blocks one sector at a time forwards. Failed sectors are marked as bad.

Retrying

Retrying retries all the sectors marked as bad one at a time forwards