1CACHE_CHECK(8) System Manager's Manual CACHE_CHECK(8)
2
3
4
6 cache_check - repair cache metadata on device or file
7
8
10 cache_check [options] {device|file}
11
12
14 cache_check checks cache metadata created by the device-mapper cache
15 target on a device or file.
16
17 This tool cannot be run on live metadata.
18
19
21 -q, --quiet
22 Suppress output messages, return only exit code.
23
24
25 -h, --help
26 Print help and exit.
27
28
29 -V, --version
30 Output version information and exit.
31
32
33 --super-block-only
34 Only check the superblock is present.
35
36
37 --skip-mappings
38 Skip checking of the block mappings which make up the bulk of
39 the metadata.
40
41
42 --skip-hints
43 Skip checking of the policy hint values metadata.
44
45
46 --skip-discards
47 Skip checking of the discard bits in the metadata.
48
49
51 Analyses and repairs cache metadata on logical volume /dev/vg/metadata:
52
53 cache_check /dev/vg/metadata
54
55 The device may not be actively used by the target when running.
56
57
59 cache_check returns an exit code of 0 for success or 1 for error.
60
61
63 cache_dump(8) cache_repair(8) cache_restore(8)
64
65
67 Joe Thornber <ejt@redhat.com>
68 Heinz Mauelshagen <HeinzM@RedHat.com>
69
70
71
72Red Hat, Inc. Thin Provisioning Tools CACHE_CHECK(8)