OS Manuals

/usr/bin/thin_trim

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_trim --help (exit 0). permalink

Issue discard requests for free pool space (offline tool).

Usage: thin_trim [OPTIONS] --metadata-dev <FILE> --data-dev <FILE>

Options:
      --data-dev <FILE>      Specify the pool data device
  -h, --help                 Print help
      --metadata-dev <FILE>  Specify the pool metadata device
  -q, --quiet                Suppress output messages, return only exit code.
  -V, --version              Print version
Options (5)
OptionDescriptionSource
--data-dev FILESpecify the pool data devicehelp
-h, --helpPrint help and exit.help + man
--metadata-dev FILESpecify the pool metadata devicehelp
-q, --quietSuppress output messages, return only exit code.help
-V, --versionPrint version information and exit.help + man

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