OS Manuals

/usr/bin/thin_metadata_size

Tools for checking, repairing and dumping dm-thin, dm-cache and dm-era metadata

From thin-provisioning-tools 1.3.4-r5 (enterprise-packages), captured 2026-11-08 by running thin_metadata_size --help (exit 0). permalink

Estimate the size of the metadata device needed for a given configuration.

Usage: thin_metadata_size [OPTIONS] --block-size <SIZE[bskmg]> --pool-size <SIZE[bskmgtp]> --max-thins <NUM>

Options:
  -b, --block-size <SIZE[bskmg]>   Specify the data block size
  -h, --help                       Print help
  -m, --max-thins <NUM>            Maximum number of thin devices and snapshots
  -n, --numeric-only[=<OPT>]       Output numeric value only
  -s, --pool-size <SIZE[bskmgtp]>  Specify the size of pool device
  -u, --unit <UNIT>                Specify the output unit in {bskKmMgG} [default: sector]
  -V, --version                    Print version
Options (7)
OptionDescriptionSource
-b, --block-size SIZE[bskmgSpecify the data block sizehelp
-h, --helpPrint help and exit.help + man
-m, --max-thins NUMMaximum number of thin devices and snapshotshelp
-n, --numeric-only OPTLimit output to just the size number.help + man
-s, --pool-size SIZE[bskmgtpSpecify the size of pool devicehelp
-u, --unit UNITSpecify the output unit in {bskKmMgG} [default: sector]help + man
-V, --versionPrint version information and exit.help + man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.