thin-provisioning-tools/man8/thin_dump.8

59 lines
1.5 KiB
Groff
Raw Normal View History

2011-12-16 16:10:08 +05:30
.TH THIN_DUMP 8 "Thin Provisioning Tools" "Red Hat, Inc." \" -*- nroff -*-
2011-12-15 18:26:48 +05:30
.SH NAME
thin_dump \- dump thin provisioning metadata from device or file to standard output
.SH SYNOPSIS
2012-03-06 00:04:55 +05:30
.B thin_dump
.RB [options]
.I {metadata device|file}
2011-12-15 18:26:48 +05:30
.SH DESCRIPTION
2012-03-06 00:04:55 +05:30
.B thin_dump
2013-07-17 16:51:11 +05:30
dumps binary thin provisioning metadata created by the device-mapper
2011-12-15 18:26:48 +05:30
thin provisioning target on a device or file to standard output for
2011-12-15 18:30:34 +05:30
analysis or postprocessing in either XML or human readable format.
2011-12-15 18:26:48 +05:30
XML formated metadata can be fed into thin_restore (see
2012-03-06 00:04:55 +05:30
.BR thin_restore(8) )
in order to put it back onto a metadata device (to process by
2011-12-15 18:26:48 +05:30
the device-mapper target) or file.
2012-03-06 00:04:55 +05:30
.IP "\fB\-f, \-\-format\fP \fI{xml|human_readable}\fP".
Print output in XML or human readable format.
2011-12-15 18:26:48 +05:30
2012-03-06 00:04:55 +05:30
.IP "\fB\-r, \-\-repair\fP".
2012-03-02 15:30:31 +05:30
.IP "\fB\-m, \-\-metadata_snap\fP block#".
Dump metadata snapshot at block#
2012-03-06 00:04:55 +05:30
.IP "\fB\-h, \-\-help\fP".
Print help and exit.
2011-12-15 18:26:48 +05:30
2012-03-06 00:04:55 +05:30
.IP "\fB\-V, \-\-version\fP".
Output version information and exit.
2011-12-15 18:26:48 +05:30
.SH EXAMPLES
2012-03-06 00:04:55 +05:30
Dumps the thin provisioning metadata on logical volume /dev/vg/metadata
to standard output in human readable format:
.sp
.B thin_dump -f human_redable /dev/vg/metadata
2011-12-15 18:26:48 +05:30
2012-03-06 00:04:55 +05:30
Dumps the thin provisioning metadata on logical volume /dev/vg/metadata
to standard output in XML format:
.sp
.B thin_dump /dev/vg/metadata
2011-12-15 18:26:48 +05:30
.SH DIAGNOSTICS
2012-03-06 00:04:55 +05:30
.B thin_dump
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_check(8)
2013-07-17 16:51:11 +05:30
.B thin_repair(8)
2012-03-06 00:04:55 +05:30
.B thin_restore(8)
2013-07-17 16:51:11 +05:30
.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>