1cache_metadata_size(8) System Manager's Manual cache_metadata_size(8)
2
3
4
6 cache_metadata_size - Estimate the size of the metadata device needed
7 for a given configuration.
8
10 cache_metadata_size [options]
11
12
14 cache_metadata_size estimates the size of the metadata.
15 Either --nr-blocks, or --block-size and --device-size must be
16 specified.
17
19 --nr-blocks {natural}
20 Specify the number of cache blocks.
21
22 --block-size {sectors}
23 Specify the size of each cache block in 512 byte sectors.
24
25 --device-size {sectors}
26 Specify total size of the fast device used in the cache. In 512
27 byte sectors.
28
29 --max-hint-width {nr bytes}
30 Specify hint width.
31
32 Cache policies use a per block 'hint' to record extra info (for instance
33 hit counts). At the moment all policies use a 4 byte hint
34 width. If you want to use a different hint width specify it with this
35 switch.
36
37
39 $ cache_metadata_size --nr-blocks 10240
40
41 $ cache_metadata_size --block-size 128 --device-size 1024000
42
44 cache_dump(8), cache_repair(8), cache_restore(8)
45
47 Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <heinzm@redhat.com>
48
49
50
51System Manager's Manual Device Mapper Tools cache_metadata_size(8)