." Text automatically generated by txt2man thin_check - Online Linux Manual PageSection : 8
Updated : Device Mapper Tools
Source : System Manager's Manual

NAMEthin_check - validates thin provisioning metadata on a device or file

SYNOPSIS.fam C thin_check [options] {device|file} .fam T

DESCRIPTIONthin_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 unless the --metadata-snapshot option is used.

OPTIONS-q, --quiet  Suppress output messages, return only exit code. -h, --help  Print help and exit. -V, --version  Output version information and exit. --super-block-only  Only check the superblock. --skip-mappings  Skip checking of the block mappings which make up the bulk of the metadata. --ignore-non-fatal-errors  Will only return a non-zero exit code if it finds a fatal error. .fam C An example of a nonfatal error is an incorrect data block reference count causing a block to be considered allocated when it in fact isn't. Ignoring errors for a long time is not advised, you really should be using thin_repair to fix them. .fam T--clear-needs-check-flag  Clears the 'needs_check' flag in the superblock. .fam C The kernel may set a flag to force the pool to be checked before it's next activated. Set this switch to clear the flag if the check is successful. If the metadata check failed, the flag is not cleared and a thin_repair run is needed to fix any issues. After thin_repair succeeded, you may run thin_check again. .fam T--metadata-snapshot, -m  Check the metadata snapshot. .fam C 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. .fam T--auto-repair  Automatically repair any trivial issues found with the metadata. .fam C Currently only fixes metadata leaks. .fam T--override-mapping-root <block>  Specify a mapping root to use. .fam C Don't use this. This overrides what's specified in the superblock. Only use this if you really understand the metadata format and are trying to recover damaged metadata. .fam T

EXAMPLEAnalyses thin provisioning metadata on logical volume /dev/vg/metadata: .fam C $ thin_check /dev/vg/metadata .fam TThe device must not be actively used by the target when running.

DIAGNOSTICSthin_check returns an exit code of 0 for success or 1 for error.

SEE ALSOthin_dump(8), thin_repair(8), thin_restore(8), thin_rmap(8), thin_metadata_size(8)

AUTHORJoe Thornber <ejt@redhat.com>, Heinz Mauelshagen <heinzm@redhat.com>
0
Johanes Gumabo
Data Size   :   10,625 byte
man-thin_check.8Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 262,421
Visitor ID   :     :  
Visitor IP   :   18.224.54.118   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|thin_check.8|1|"|." Text automatically generated by txt2man )         (parse_manual_page_|252|thin_check.8|8|fam|.fam C )         (parse_manual_page_|252|thin_check.8|10|fam|.fam T )         (parse_manual_page_|252|thin_check.8|45|fam|.fam C )         (parse_manual_page_|252|thin_check.8|51|fam|.fam T )         (parse_manual_page_|252|thin_check.8|59|fam|.fam C )         (parse_manual_page_|252|thin_check.8|66|fam|.fam T )         (parse_manual_page_|252|thin_check.8|74|fam|.fam C )         (parse_manual_page_|252|thin_check.8|79|fam|.fam T )         (parse_manual_page_|252|thin_check.8|87|fam|.fam C )         (parse_manual_page_|252|thin_check.8|90|fam|.fam T )         (parse_manual_page_|252|thin_check.8|98|fam|.fam C )         (parse_manual_page_|252|thin_check.8|103|fam|.fam T )         (parse_manual_page_|252|thin_check.8|109|fam|.fam C )         (parse_manual_page_|252|thin_check.8|112|fam|.fam T )