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
9

SYNOPSIS

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

DESCRIPTION

15       cache_repair reads binary cache  metadata  created  by  the  respective
16       device-mapper target from one device or file , repairs it and writes it
17       to another device or file.  If written to a metadata device , the meta‐
18       data can be processed by the device-mapper target.
19
20       This tool cannot be run on live metadata.
21
22
23       -i, --input {device|file}
24              Input file or device with binary metadata.
25
26
27       -o, --output {device|file}
28              Output file or device for repaired binary metadata.
29
30
31       -h, --help
32              Print help and exit.
33
34
35       -V, --version
36              Output version information and exit.
37
38

EXAMPLE

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

DIAGNOSTICS

48       cache_repair returns an exit code of 0 for success or 1 for error.
49
50

SEE ALSO

52       cache_dump(8) cache_check(8) cache_restore(8)
53
54

AUTHOR

56       Joe Thornber <ejt@redhat.com>
57       Heinz Mauelshagen <HeinzM@RedHat.com>
58
59
60
61Red Hat, Inc.               Thin Provisioning Tools            CACHE_REPAIR(8)
Impressum