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
13       respective 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

EXAMPLE

37       Reads the binary thin provisioning metadata from file metadata, repairs
38       it  and  writes  it to logical volume /dev/vg/metadata for further pro‐
39       cessing by the respective device-mapper target:
40
41           $ thin_repair -i metadata -o /dev/vg/metadata
42
43

DIAGNOSTICS

45       thin_repair returns an exit code of 0 for success or 1 for error.
46

SEE ALSO

48       thin_dump(8), thin_check(8), thin_restore(8), thin_rmap(8),  thin_meta‐
49       data_size(8)
50

AUTHOR

52       Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
53
54
55
56System Manager's Manual       Device Mapper Tools               thin_repair(8)
Impressum