1CACHE_DUMP(8) System Manager's Manual CACHE_DUMP(8)
2
3
4
6 cache_dump - dump cache metadata from device or file to standard output
7
8
10 cache_dump [options] {device|file}
11
12
14 cache_dump dumps binary cache metadata created by the device-mapper
15 cache target on a device or file to standard output for analysis or
16 postprocessing in XML format. XML formated metadata can be fed into
17 cache_restore (see cache_restore(8)) in order to put it back onto a
18 metadata device (to process by the device-mapper target) or file.
19
20 This tool cannot be run on live metadata.
21
22
23 -r, --repair
24 Repair the metadata whilst dumping it.
25
26
27 -h, --help
28 Print help and exit.
29
30
31 -V, --version
32 Output version information and exit.
33
34
36 Dumps the cache metadata on logical volume /dev/vg/metadata to standard
37 output in XML format:
38
39 cache_dump /dev/vg/metadata
40
41
43 Dumps the cache metadata on logical volume /dev/vg/metadata whilst
44 repairing it to standard output in XML format:
45
46 cache_dump --repair /dev/vg/metadata
47
48
50 cache_dump returns an exit code of 0 for success or 1 for error.
51
52
54 cache_check(8) cache_repair(8) cache_restore(8)
55
56
58 Joe Thornber <ejt@redhat.com>
59 Heinz Mauelshagen <HeinzM@RedHat.com>
60
61
62
63Red Hat, Inc. Thin Provisioning Tools CACHE_DUMP(8)