thin_restore(8)
β¨ thin_restore(8) β¨ β NAME π
okay so the manual name here is thin_restore π and it's a tool to restore thin provisioning metadata file to device or file. literally that's the whole vibe π
π§ SYNOPSIS π§
thin_restore [options] -i {xml file} -o {device|file}
πΈ DESCRIPTION πΈ
okay so thin_restore takes thin provisioning metadata that was created by the respective device-mapper target and dumped into an XML formatted (see thin_dump(8)) file πβ¨ it can optionally preprocess that stuff before restoring it to another device or file. and if you restore it to a metadata device, the metadata can then be processed by the device-mapper target π¦
bestie, this tool cannot be run on live metadata π don't even try it, it's a no-go π
π OPTIONS π
-h,--helpβ prints help and exits π«Ά-V,--versionβ prints version information and exits π₯-q,--quietβ suppresses output messages so you only get the exit code π€«-i,--input {xml file}β the input file containing the XML metadata π-o,--output {device|file}β the output file or device where the restored binary metadata goes π
if you're using a file for output, it must be preallocated and big enough to hold the metadata π no shortcuts, bestie
--transaction-id {natural}β overrides the transaction id given in the input xml β¨--data-block-size {natural}β overrides the data block size given in the input xml π--nr-data-blocks {natural}β overrides the nr data blocks given in the input xml π
π EXAMPLE π
okay so this one restores the XML formatted thin provisioning metadata in the file metadata to the logical volume /dev/vg/metadata so it's ready for the respective device-mapper target to process π
$ thin_restore -i metadata -o /dev/vg/metadata
π¦ DIAGNOSTICS π¦
thin_restore returns an exit code of 0 for success or 1 for error π
π SEE ALSO π
thin_dump(8), thin_check(8), thin_repair(8), thin_rmap(8), thin_metadata_size(8) β
π AUTHOR π
Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com> π«Ά
bye bestie, that's thin_restore from Device Mapper Tools, System Manager's Manual πβ¨π
π¦ where this page comes from
- alpine 3.24: thin-provisioning-tools-doc 1.3.2-r0 Β· GPL-3.0-only
- arch rolling: thin-provisioning-tools 1.3.4-1 Β· GPL-3.0-only
- centos-stream 10: device-mapper-persistent-data 1.3.4-1.el10 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- centos-stream 9: device-mapper-persistent-data 1.1.0-1.el9 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- debian trixie: thin-provisioning-tools 1.1.0-4+b1 Β· GPL-3.0-or-later
- fedora 43: device-mapper-persistent-data 1.1.0-4.fc43 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- fedora 43: device-mapper-persistent-data 1.3.3-1.fc43
- fedora 43: device-mapper-persistent-data 1.3.4-1.fc43 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- fedora 44: device-mapper-persistent-data 1.3.1-3.fc44 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- fedora 44: device-mapper-persistent-data 1.3.3-1.fc44
- fedora 44: device-mapper-persistent-data 1.3.4-1.fc44 Β· GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
- opensuse-leap 16.0: thin-provisioning-tools 1.1.0-160000.2.2 Β· GPL-3.0-only
- opensuse-leap 16.0: thin-provisioning-tools 1.1.0-160000.2.2 Β· GPL-3.0-only
- opensuse-leap 16.0: thin-provisioning-tools 1.1.0-160000.2.2 Β· GPL-3.0-only
- opensuse-leap 16.0: thin-provisioning-tools 1.1.0-160000.2.2 Β· GPL-3.0-only
- ubuntu questing: thin-provisioning-tools 1.1.0-4ubuntu1 Β· GPL-3.0-or-later
- ubuntu resolute: thin-provisioning-tools 1.1.0-4ubuntu2 Β· GPL-3.0-or-later
- ubuntu stonking: thin-provisioning-tools 1.1.0-5.1ubuntu1 Β· GPL-3.0-or-later
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms