OS Manuals

/usr/bin/thin_repair

Tools for checking, repairing and dumping dm-thin, dm-cache and dm-era metadata

From thin-provisioning-tools 1.3.4-r5 (enterprise-packages), captured 2026-11-08 by running thin_repair --help (exit 0). permalink

Repair thin-provisioning metadata, and write it to different device or file

Usage: thin_repair [OPTIONS] --input <FILE> --output <FILE>

Options:
      --data-block-size <SECTORS>  Provide the data block size for repairing
  -h, --help                       Print help
  -i, --input <FILE>               Specify the input device
      --nr-data-blocks <NUM>       Override the number of data blocks if needed
  -o, --output <FILE>              Specify the output device
  -q, --quiet                      Suppress output messages, return only exit code.
      --transaction-id <NUM>       Override the transaction id if needed
  -V, --version                    Print version
Options (8)
OptionDescriptionSource
--data-block-size SECTORSOverride the data block size given in the input xml.help + man
-h, --helpPrint help and exit.help + man
-i, --input FILEInput file or device with binary data.help + man
--nr-data-blocks NUMOverride the nr data blocks given in the input xml.help + man
-o, --output FILEOutput file or device for binary data.help + man
-q, --quietSuppress output messages, return only exit code.help
--transaction-id NUMOverride the transaction id given in the input xml.help + man
-V, --versionPrint version information and exit.help + man
Examples (1) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.