1THIN_RESTORE(8)             System Manager's Manual            THIN_RESTORE(8)
2
3
4

NAME

6       thin_restore  -  restore  thin  provisioning metadata file to device or
7       file
8
9

SYNOPSIS

11       thin_restore [options] -i {device|file} -o {device|file}
12
13

DESCRIPTION

15       thin_restore restores thin provisioning metadata created by the respec‐
16       tive   device-mapper   target   dumped   into  an  XML  formatted  (see
17       thin_dump(8)) file , which optionally can be  preprocessed  before  the
18       restore  to another device or file.  If restored to a metadata device ,
19       the metadata can be processed by the device-mapper target.
20
21       This tool cannot be run on live metadata.
22
23
24       -q, --quiet
25              Suppress output messages, return only exit code.
26
27
28       -i, --input {device|file}
29              Input file or device with metadata.
30
31
32       -o, --output {device|file}
33              Output file or device.
34
35
36       -h, --help
37              Print help and exit.
38
39
40       -V, --version
41              Output version information and exit.
42
43

EXAMPLE

45       Restores the XML formatted thin provisioning metadata on file  metadata
46       to  logical  volume  /dev/vg/metadata  for  further  processing  by the
47       respective device-mapper target:
48
49       thin_restore -i metadata -o /dev/vg/metadata
50
51

DIAGNOSTICS

53       thin_restore returns an exit code of 0 for success or 1 for error.
54
55

SEE ALSO

57       thin_dump(8)  thin_check(8)  thin_repair(8)   thin_rmap(8)   thin_meta‐
58       data_size(8)
59
60

AUTHOR

62       Joe Thornber <ejt@redhat.com>
63       Heinz Mauelshagen <HeinzM@RedHat.com>
64
65
66
67Red Hat, Inc.               Thin Provisioning Tools            THIN_RESTORE(8)
Impressum