ddrescue-mapfile · shipping · also ddrescue recovery map

ddrescue mapfile

A ddrescue mapfile records input byte ranges and their rescue states so copying can resume without rereading ranges marked finished.

Related Observatory article: Read on hesela.com

The data-block list records input offsets, lengths and states including non-tried, non-trimmed, non-scraped, bad-sector or finished. Preserve input/output offsets and the original map with its corresponding image version. A finished state is recovery bookkeeping, not comparison against a trusted digest. [1]

Generate mode reconstructs an approximate map by treating nonzero output sectors as finished. Old destination bytes can be mistaken for recovered data, while genuine zero sectors can be treated as non-tried. Sparse output requires an empty or zeroed destination. [1]

A controlled 4096-byte example reached a complete map after resume while 512 stale bytes remained from earlier sparse writes into a nonzero file. Another pair had identical image bytes but different acquisition coverage. These are constructed software cases, not hardware failure rates. [2]

Relations

related
Sparse file, Checksum, Backup verification, GUID Partition Table (GPT)

Advantages

  • Retains interval-level progress for interrupted rescue operations. [1]

Limitations

  • A completion check applies only to its selected rescue domain. [1]

Citations

  1. GNU ddrescue 1.30 manual: mapfile structure, generate mode and ddrescuelog (accessed 2026-10-18)
  2. Hesela: ddrescue image provenance, twelve controlled cases (accessed 2026-10-18)
Sources & caveats
  • GNU 1.30 manual and implementation reviewed; twelve cases repeated from a pinned source build. [1] [2]

JSON: /data/terms/ddrescue-mapfile.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. ddrescue mapfile. Hesela. 2026-10-21. https://hesela.dev/terms/ddrescue-mapfile/