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

NAME

6       cache_metadata_size  -  Estimate the size of the metadata device needed
7       for a given configuration.
8

SYNOPSIS

10       cache_metadata_size [options]
11

DESCRIPTION

13       cache_metadata_size estimates the size of the metadata.
14              Either --nr-blocks, or --block-size and  --device-size  must  be
15              specified.
16

OPTIONS

18       --nr-blocks {natural}
19              Specify the number of cache blocks.
20
21       --block-size {sectors}
22              Specify the size of each cache block in 512 byte sectors.
23
24       --device-size {sectors}
25              Specify total size of the fast device used in the cache.  In 512
26              byte sectors.
27
28       --max-hint-width {nr bytes}
29              Specify hint width.
30
31           Cache policies use a per block 'hint' to record extra info (for instance
32           hit counts).  At the moment all policies use a 4 byte hint
33           width.  If you want to use a different hint width specify it with this
34           switch.
35
36

EXAMPLE

38       $ cache_metadata_size --nr-blocks 10240
39
40       $ cache_metadata_size --block-size 128 --device-size 1024000
41

SEE ALSO

43       cache_dump(8), cache_repair(8), cache_restore(8)
44

AUTHOR

46       Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <heinzm@redhat.com>
47
48
49
50System Manager's Manual       Device Mapper Tools       cache_metadata_size(8)
Impressum