THIN_CHECK



THIN_CHECK

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
DIAGNOSTICS
SEE ALSO
AUTHOR

NAME

thin_check − repair thin provisioning metadata on device or file

SYNOPSIS

thin_check [options] {device|file}

DESCRIPTION

thin_check checks thin provisioning metadata created by the device-mapper thin provisioning target on a device or file.

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 is present.

−−skip-mappings

Skip checking of the block mappings which make up the bulk of the metadata.

−−ignore−non−fatal−errors

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.

EXAMPLE

Analyses and repairs thin provisioning metadata on logical volume /dev/vg/metadata:

thin_check /dev/vg/metadata

The device may not be actively used by the target when running.

DIAGNOSTICS

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

SEE ALSO

thin_dump(8) thin_repair(8) thin_restore(8) thin_rmap(8) thin_metadata_size(8)

AUTHOR

Joe Thornber <ejt@redhat.com>
Heinz Mauelshagen <HeinzM@RedHat.com>




More Linux Commands

manpages/obex-data-server.1.html
obex-data-server(1) - D-Bus service providing OBEX functiona
obex-data-server is D-Bus service providing high-level OBEX client and server side functionality. It currently supports OPP (Object Push Profile), FTP (File Tra

manpages/XSetLineAttributes.3.html
XSetLineAttributes(3) - GC convenience routines (Man Page)
The XSetLineAttributes function sets the line drawing components in the specified GC. XSetLineAttributes can generate BadAlloc, BadGC, and BadValue errors. The

manpages/pthread_attr_setstackaddr.3.html
pthread_attr_setstackaddr(3) - set/get stack address attribu
These functions are obsolete: do not use them. Use pthread_attr_setstack(3) and pthread_attr_getstack(3) instead. The pthread_attr_setstackaddr() function sets

manpages/XGetWMNormalHints.3.html
XGetWMNormalHints(3) - allocate size hints structure and set
The XAllocSizeHints function allocates and returns a pointer to a XSizeHints structure. Note that all fields in the XSizeHints structure are initially set to ze

manpages/getrlimit.2.html
getrlimit(2) - get/set resource limits - Linux manual page
The getrlimit() and setrlimit() system calls get and set resource limits respectively. Each resource has an associated soft and hard limit, as defined by the rl

manpages/XtIsShell.3.html
XtIsShell(3) - obtain and verify a widget's class (ManPage)
The XtClass function returns a pointer to the widgets class structure. The XtSuperclass function returns a pointer to the widgets superclass class structure. Th

manpages/anvil.8.html
anvil(8) - Postfix session count and request rate control...
The Postfix anvil(8) server maintains statistics about client connection counts or client request rates. This information can be used to defend against clients

manpages/symlink.2.html
symlink(2) - make a new name for a file - Linux manual page
symlink() creates a symbolic link named linkpath which contains the string target. Symbolic links are interpreted at run time as if the contents of the link had

manpages/prtstat.1.html
prtstat(1) - print statistics of a process - Linux man page
prtstat prints the statistics of the specified process. This information comes from the /proc/PID/stat file. OPTIONS -r,--raw Print the information in raw forma

manpages/dbopen.3.html
dbopen(3) - database access methods - Linux manual page.....
Note well: This page documents interfaces provided in glibc up until version 2.1. Since version 2.2, glibc no longer provides these interfaces. Probably, you ar

manpages/Tcl_ConditionWait.3.html
Tcl_ConditionWait(3) - Tcl thread support - Linux man page
Tcl provides Tcl_CreateThread for creating threads. The caller can determine the size of the stack given to the new thread and modify the behaviour through the

manpages/systemd.device.5.html
systemd.device(5) - systemd device configuration files......
A unit configuration file whose name ends in .device encodes information about a device unit as exposed in the sysfs/udev(7) device tree. This unit type has no





We can't live, work or learn in freedom unless the software we use is free.