thin_metadata_size [options]
Block size of thin provisioned devices in units of bytes, sectors, kibibytes, kilobytes, ... respectively. Default is in sectors without a block size unit specifier. Size/number option arguments can be followed by unit specifiers in short one character and long form (eg. -b1m or -b1mebibytes).
Thin provisioning pool size in units of bytes, sectors, kibibytes, kilobytes, ... respectively. Default is in sectors without a pool size unit specifier.
Maximum sum of all thin provisioned devices and snapshots. Unit identifier supported to allow for convenient entry of large quantities, eg. 1000000 = 1M. Default is absolute quantity without a number unit specifier.-u, --unit {bskKmMgGtTpPeEzZyY}
Output unit specifier in units of bytes, sectors, kibibytes, kilobytes, ... respectively. Default is in sectors without an output unit specifier.
$ thin_metadata_size -b64k -s1t -m1000Or (using the long options instead) for block size 1 gibibyte, pool size 1 petabyte and maximum number of thin provisioned devices and snapshots of 1 million with numeric-only output in units of gigabytes:
$ thin_metadata_size --block-size=1g --pool-size=1P --max-thins=1M --unit=G --numeric-onlySame as before (1g, 1P, 1M, numeric-only) but with unit specifier character appended:
$ thin_metadata_size --block-size=1gibi --pool-size=1petabytes --max-thins=1mega --unit=G --numeric-only=shortOr with unit specifier string appended:
$ thin_metadata_size --block-size=1gibi --pool-size=1petabytes --max-thins=1mega --unit=G -nlong
thin_metadata_size returns an exit code of 0 for success or 1 for error.