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

NAME

6       cache_repair  -  repair  cache  binary  metadata  from  device/file  to
7       device/file.
8

SYNOPSIS

10       cache_repair [options] -i {device|file} -o {device|file}
11

DESCRIPTION

13       cache_repair reads binary cache  metadata  created  by  the  respective
14       device-mapper  target from one device or file, repairs it and writes it
15       to another device or file. If written to a metadata device,  the  meta‐
16       data can be processed by the device-mapper target.
17
18       This tool cannot be run on live metadata.
19

OPTIONS

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 containing binary metadata.
29
30       -o, --output {device|file}
31              Output file or device for repaired binary metadata.
32
33           If a file is then it must be preallocated, and large enough to hold the
34           metadata.
35
36

EXAMPLE

38       Reads  the  binary  cache  metadata  from file metadata, repairs it and
39       writes it to logical volume /dev/vg/metadata for further processing  by
40       the respective device-mapper target:
41
42           $ cache_repair -i metadata -o /dev/vg/metadata
43
44

DIAGNOSTICS

46       cache_repair returns an exit code of 0 for success or 1 for error.
47

SEE ALSO

49       cache_dump(8), cache_check(8), cache_restore(8)
50

AUTHOR

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