1thin_restore(8) System Manager's Manual thin_restore(8)
2
3
4
6 thin_restore - restore thin provisioning metadata file to device or
7 file.
8
10 thin_restore [options] -i {xml file} -o {device|file}
11
13 thin_restore restores thin provisioning metadata created by the respec‐
14 tive device-mapper target dumped into an XML formatted (see
15 thin_dump(8)) file, which optionally can be preprocessed before the
16 restore to another device or file. If restored to a metadata device,
17 the metadata can be processed by the device-mapper target.
18
19 This tool cannot be run on live metadata.
20
22 -h, --help
23 Print help and exit.
24
25 -V, --version
26 Print version information and exit.
27
28 -q, --quiet
29 Suppress output messages, return only exit code.
30
31 -i, --input {xml file}
32 Input file containing XML metadata.
33
34 -o, --output {device|file}
35 Output file or device for restored binary metadata.
36
37 If a file is used for output, then it must be preallocated, and large
38 enough to hold the metadata.
39
40
42 Restores the XML formatted thin provisioning metadata on file metadata
43 to logical volume /dev/vg/metadata for further processing by the
44 respective device-mapper target:
45
46 $ thin_restore -i metadata -o /dev/vg/metadata
47
48
50 thin_restore returns an exit code of 0 for success or 1 for error.
51
53 thin_dump(8), thin_check(8), thin_repair(8), thin_rmap(8), thin_meta‐
54 data_size(8)
55
57 Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
58
59
60
61System Manager's Manual Device Mapper Tools thin_restore(8)