thin-provisioning-tools/man8/thin_check.8

64 lines
1.5 KiB
Groff
Raw Normal View History

2011-12-16 16:10:08 +05:30
.TH THIN_REPAIR 8 "Thin Provisioning Tools" "Red Hat, Inc." \" -*- nroff -*-
2011-12-15 18:26:48 +05:30
.SH NAME
2012-03-06 00:04:55 +05:30
thin_check \- repair thin provisioning metadata on device or file
2011-12-15 18:26:48 +05:30
.SH SYNOPSIS
2012-03-06 00:04:55 +05:30
.B thin_check
.RB [ options ]
.I {device|file}
2011-12-15 18:26:48 +05:30
.SH DESCRIPTION
2012-03-06 00:04:55 +05:30
.B thin_check
checks thin provisioning metadata created by
the device-mapper thin provisioning target on a
.I device
or
.I file.
2011-12-15 18:26:48 +05:30
2012-03-06 00:04:55 +05:30
.SH OPTIONS
.IP "\fB\-q, \-\-quiet\fP"
Suppress output messages, return only exit code.
.IP "\fB\-h, \-\-help\fP"
2012-03-06 00:04:55 +05:30
Print help and exit.
2011-12-15 18:26:48 +05:30
.IP "\fB\-V, \-\-version\fP"
2012-03-06 00:04:55 +05:30
Output version information and exit.
2011-12-15 18:26:48 +05:30
2013-05-23 16:00:34 +05:30
.IP "\fB\-\-super\-block\-only\fP"
Only check the superblock is present.
.IP "\fB\-\-skip-mappings\fP"
Skip checking of the block mappings which make up the bulk of the
metadata.
2013-05-23 16:27:02 +05:30
.IP "\fB\-\-ignore\-non\-fatal\-errors\fP"
.B thin_check
will only return a non-zero exit code if it finds a fatal
error. An example of a on fatal 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.
2011-12-15 18:26:48 +05:30
.SH EXAMPLE
2012-03-06 00:04:55 +05:30
Analyses and repairs thin provisioning metadata on logical volume
/dev/vg/metadata:
.sp
.B thin_check /dev/vg/metadata
2012-03-06 00:04:55 +05:30
The device may not be actively used by the target
2013-05-23 16:00:34 +05:30
when running.
2011-12-15 18:26:48 +05:30
.SH DIAGNOSTICS
2012-03-06 00:04:55 +05:30
.B thin_check
returns an exit code of 0 for success or 1 for error.
2011-12-15 18:26:48 +05:30
.SH SEE ALSO
2012-03-06 00:04:55 +05:30
.B thin_dump(8)
.B thin_restore(8)
2011-12-15 18:26:48 +05:30
.SH AUTHOR
2011-12-16 16:50:07 +05:30
Joe Thornber <ejt@redhat.com>
2011-12-16 16:22:39 +05:30
.br
2011-12-15 18:26:48 +05:30
Heinz Mauelshagen <HeinzM@RedHat.com>