From bb64189d26fa57ce37663ed89ddafa2b22b485a6 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 15 Jun 2020 11:27:15 +0100 Subject: [PATCH] [thin_check] update thin_check manpage. --- man8/thin_check.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man8/thin_check.txt b/man8/thin_check.txt index 1aae63e..55452e6 100644 --- a/man8/thin_check.txt +++ b/man8/thin_check.txt @@ -8,7 +8,8 @@ DESCRIPTION thin_check checks thin provisioning metadata created by the device-mapper thin provisioning target on a device or file. - The tool cannot be run on live metadata. + The tool cannot be run on live metadata unless the --metadata-snapshot + option is used. OPTIONS -q, --quiet Suppress output messages, return only exit code. @@ -33,6 +34,12 @@ OPTIONS is needed to fix any issues. After thin_repair succeeded, you may run thin_check again. + --metadata-snapshot, -m Check the metadata snapshot. + + This will check the devices tree and mappings in a metadata snapshot. + The snap does not contain space maps, so these will not be checked. This + may be used on live metadata. + --override-mapping-root Specify a mapping root to use. Don't use this. This overrides what's specified in the superblock. Only