2013-07-17 16:51:11 +05:30
|
|
|
.TH THIN_REPAIR 8 "Thin Provisioning Tools" "Red Hat, Inc." \" -*- nroff -*-
|
|
|
|
.SH NAME
|
|
|
|
thin_repair \- repair thin provisioning binary metadata from device/file to device/file
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B thin_repair
|
|
|
|
.RB [ options ]
|
|
|
|
.RB -i
|
|
|
|
.I {device|file}
|
|
|
|
.RB -o
|
|
|
|
.I {device|file}
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B thin_repair
|
2013-07-25 18:18:55 +05:30
|
|
|
reads binary thin provisioning metadata created by the
|
|
|
|
respective device-mapper target from one device or file,
|
|
|
|
repairs it and writes it to another device or file.
|
|
|
|
If written to a metadata device, the metadata can be processed
|
2013-07-17 16:51:11 +05:30
|
|
|
by the device-mapper target.
|
|
|
|
|
|
|
|
.IP "\fB\-i, \-\-input\fP \fI{device|file}\fP"
|
|
|
|
Input file or device with binary metadata.
|
|
|
|
|
|
|
|
.IP "\fB\-o, \-\-output\fP \fI{device|file}\fP"
|
|
|
|
Output file or device for repaired binary metadata.
|
|
|
|
|
|
|
|
.IP "\fB\-h, \-\-help\fP"
|
|
|
|
Print help and exit.
|
|
|
|
|
|
|
|
.IP "\fB\-V, \-\-version\fP"
|
|
|
|
Output version information and exit.
|
|
|
|
|
|
|
|
.SH EXAMPLE
|
2013-07-25 18:18:55 +05:30
|
|
|
Reads the binary thin provisioning metadata from file
|
2013-07-17 16:51:11 +05:30
|
|
|
.B metadata
|
2013-07-25 18:18:55 +05:30
|
|
|
, repairs it and writes it to logical volume /dev/vg/metadata
|
|
|
|
for further processing by the respective device-mapper target:
|
2013-07-17 16:51:11 +05:30
|
|
|
.sp
|
|
|
|
.B thin_repair -i metadata -o /dev/vg/metadata
|
|
|
|
|
|
|
|
.SH DIAGNOSTICS
|
|
|
|
.B thin_repair
|
|
|
|
returns an exit code of 0 for success or 1 for error.
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
.B thin_dump(8)
|
|
|
|
.B thin_check(8)
|
|
|
|
.B thin_restore(8)
|
|
|
|
.B thin_rmap(8)
|
|
|
|
.B thin_metadata_size(8)
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
Joe Thornber <ejt@redhat.com>
|
|
|
|
.br
|
|
|
|
Heinz Mauelshagen <HeinzM@RedHat.com>
|