1thin_repair(8)              System Manager's Manual             thin_repair(8)
2
3
4

NAME

6       thin_repair - repair thin provisioning binary metadata.
7

SYNOPSIS

9       thin_repair [options] -i {device|file} -o {device|file}
10

DESCRIPTION

12       thin_repair  reads binary thin provisioning metadata created by the re‐
13       spective device-mapper target from one device or file, repairs  it  and
14       writes it to different device or file. If written to a metadata device,
15       the metadata can be processed by the device-mapper target.
16
17       This tool cannot be run on live metadata.
18

OPTIONS

20       -h, --help
21              Print help and exit.
22
23       -V, --version
24              Print version information and exit.
25
26       -i, --input {device|file}
27              Input file or device with binary data.
28
29       -o, --output {device|file}
30              Output file or device for binary data.
31
32           If a file is used for output, then it must be preallocated, and large
33           enough to hold the metadata.
34
35
36       --transaction-id {natural}
37              Override the transaction id given in the input xml.
38
39       --data-block-size {natural}
40              Override the data block size given in the input xml.
41
42       --nr-data-blocks {natural}
43              Override the nr data blocks given in the input xml.
44

EXAMPLE

46       Reads the binary thin provisioning metadata from file metadata, repairs
47       it  and  writes  it to logical volume /dev/vg/metadata for further pro‐
48       cessing by the respective device-mapper target:
49
50           $ thin_repair -i metadata -o /dev/vg/metadata
51
52

DIAGNOSTICS

54       thin_repair returns an exit code of 0 for success or 1 for error.
55

SEE ALSO

57       thin_dump(8), thin_check(8), thin_restore(8), thin_rmap(8),  thin_meta‐
58       data_size(8)
59

AUTHOR

61       Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
62
63
64
65System Manager's Manual       Device Mapper Tools               thin_repair(8)
Impressum