1cache_repair(8) System Manager's Manual cache_repair(8)
2
3
4
6 cache_repair - repair cache binary metadata from device/file to de‐
7 vice/file.
8
10 cache_repair [options] -i {device|file} -o {device|file}
11
12
14 cache_repair reads binary cache metadata created by the respective de‐
15 vice-mapper target from one device or file, repairs it and writes it to
16 another device or file. If written to a metadata device, the metadata
17 can be processed by the device-mapper target.
18
19 This tool cannot be run on live metadata.
20
22 -h, --help
23 Print help and exit.
24
25 -V, --version
26 Print version information and exit.
27
28 -i, --input {device|file}
29 Input file or device containing binary metadata.
30
31 -o, --output {device|file}
32 Output file or device for repaired binary metadata.
33
34 If a file is then it must be preallocated, and large enough to hold the
35 metadata.
36
37
39 Reads the binary cache metadata from file metadata, repairs it and
40 writes it to logical volume /dev/vg/metadata for further processing by
41 the respective device-mapper target:
42
43 $ cache_repair -i metadata -o /dev/vg/metadata
44
45
47 cache_repair returns an exit code of 0 for success or 1 for error.
48
50 cache_dump(8), cache_check(8), cache_restore(8)
51
53 Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
54
55
56
57System Manager's Manual Device Mapper Tools cache_repair(8)