2011-12-16 16:10:08 +05:30
|
|
|
.TH THIN_RESTORE 8 "Thin Provisioning Tools" "Red Hat, Inc." \" -*- nroff -*-
|
2011-12-15 18:26:48 +05:30
|
|
|
.SH NAME
|
|
|
|
thin_restore \- restore thin provisioning metadata file to device or file
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2012-03-06 00:04:55 +05:30
|
|
|
.B thin_restore
|
|
|
|
.RB [ options ]
|
|
|
|
.RB -i
|
|
|
|
.I {device|file}
|
|
|
|
.RB -o
|
|
|
|
.I {device|file}
|
2011-12-15 18:26:48 +05:30
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2012-03-06 00:04:55 +05:30
|
|
|
.B thin_restore
|
|
|
|
restores thin provisioning metadata created by the
|
|
|
|
respective device-mapper target dumped into an XML formatted (see
|
|
|
|
.BR thin_dump(8) )
|
2013-07-25 18:57:31 +05:30
|
|
|
.I file
|
|
|
|
, which optionally can be preprocessed before the restore to another
|
|
|
|
.I device
|
|
|
|
or
|
|
|
|
.I file.
|
|
|
|
If restored to a metadata
|
|
|
|
.I device
|
|
|
|
, the metadata can be processed by the device-mapper target.
|
2011-12-15 18:26:48 +05:30
|
|
|
|
2015-08-13 18:09:20 +05:30
|
|
|
This tool cannot be run on live metadata.
|
|
|
|
|
2014-08-06 15:03:23 +05:30
|
|
|
.IP "\fB\-q, \-\-quiet\fP"
|
|
|
|
Suppress output messages, return only exit code.
|
|
|
|
|
2012-03-06 00:04:55 +05:30
|
|
|
.IP "\fB\-i, \-\-input\fP \fI{device|file}\fP"
|
|
|
|
Input file or device with metadata.
|
2011-12-15 18:26:48 +05:30
|
|
|
|
2012-03-06 00:04:55 +05:30
|
|
|
.IP "\fB\-o, \-\-output\fP \fI{device|file}\fP"
|
|
|
|
Output file or device.
|
2011-12-15 18:26:48 +05:30
|
|
|
|
2012-03-06 00:04:55 +05:30
|
|
|
.IP "\fB\-h, \-\-help\fP"
|
|
|
|
Print help and exit.
|
|
|
|
|
|
|
|
.IP "\fB\-V, \-\-version\fP"
|
|
|
|
Output version information and exit.
|
2011-12-15 18:26:48 +05:30
|
|
|
|
|
|
|
.SH EXAMPLE
|
2012-03-06 00:04:55 +05:30
|
|
|
Restores the XML formatted thin provisioning metadata on file
|
|
|
|
.B metadata
|
2011-12-15 18:26:48 +05:30
|
|
|
to logical volume /dev/vg/metadata for further processing by the
|
2012-03-06 00:04:55 +05:30
|
|
|
respective device-mapper target:
|
|
|
|
.sp
|
|
|
|
.B thin_restore -i metadata -o /dev/vg/metadata
|
2011-12-15 18:26:48 +05:30
|
|
|
|
|
|
|
.SH DIAGNOSTICS
|
2013-07-17 16:51:11 +05:30
|
|
|
.B thin_restore
|
2012-03-06 00:04:55 +05:30
|
|
|
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_check(8)
|
2013-07-17 16:51:11 +05:30
|
|
|
.B thin_repair(8)
|
|
|
|
.B thin_rmap(8)
|
|
|
|
.B thin_metadata_size(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>
|