1thin_repair(8) System Manager's Manual thin_repair(8)
2
3
4
6 thin_repair - repair thin provisioning binary metadata.
7
9 thin_repair [options] -i {device|file} -o {device|file}
10
11
13 thin_repair reads binary thin provisioning metadata created by the re‐
14 spective device-mapper target from one device or file, repairs it and
15 writes it to different device or file. If written to a metadata device,
16 the metadata can be processed by the device-mapper target.
17
18 This tool cannot be run on live metadata.
19
21 -h, --help
22 Print help and exit.
23
24 -V, --version
25 Print version information and exit.
26
27 -i, --input {device|file}
28 Input file or device with binary data.
29
30 -o, --output {device|file}
31 Output file or device for binary data.
32
33 If a file is used for output, then it must be preallocated, and large
34 enough to hold the metadata.
35
36
37 --transaction-id {natural}
38 Override the transaction id given in the input xml.
39
40 --data-block-size {natural}
41 Override the data block size given in the input xml.
42
43 --nr-data-blocks {natural}
44 Override the nr data blocks given in the input xml.
45
47 Reads the binary thin provisioning metadata from file metadata, repairs
48 it and writes it to logical volume /dev/vg/metadata for further pro‐
49 cessing by the respective device-mapper target:
50
51 $ thin_repair -i metadata -o /dev/vg/metadata
52
53
55 thin_repair returns an exit code of 0 for success or 1 for error.
56
58 thin_dump(8), thin_check(8), thin_restore(8), thin_rmap(8), thin_meta‐
59 data_size(8)
60
62 Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
63
64
65
66System Manager's Manual Device Mapper Tools thin_repair(8)