man > cache_dump(8)

cache_dump(8) System Manager's Manual cache_dump(8)

📖 NAME

cache_dump - dump cache metadata from device or file to standard output.

🚀 Quick Reference

Use CaseCommandDescription
Dump cache metadata to stdoutcache_dump /dev/vg/metadataDumps binary cache metadata in XML format to standard output.
Dump with repaircache_dump --repair /dev/vg/metadataDumps and repairs the metadata simultaneously.
Dump to filecache_dump -o output.xml /dev/vg/metadataDumps metadata to a specified XML file.

🔧 SYNOPSIS

cache_dump [options] {device|file}

📝 DESCRIPTION

cache_dump dumps binary cache metadata created by the device-mapper cache target on a device or file to standard output for analysis or postprocessing in XML format. XML formatted metadata can be fed into cache_restore in order to put it back onto a metadata device (to process by the device-mapper target), or file.

This tool cannot be run on live metadata.

⚙️ OPTIONS

🆘 -h, --help

Print help and exit.

🆘 -V, --version

Print version information and exit.

🔧 -r, --repair

Repair the metadata whilst dumping it.

📁 -o {xml file}

Specify an output file for the xml, rather than printing to stdout.

💡 EXAMPLES

Dumps the cache metadata on logical volume /dev/vg/metadata to standard output in XML format:

$ cache_dump /dev/vg/metadata

Dumps the cache metadata on logical volume /dev/vg/metadata whilst repairing it to standard output in XML format:

$ cache_dump --repair /dev/vg/metadata

🔍 DIAGNOSTICS

cache_dump returns an exit code of 0 for success or 1 for error.

🚪 Exit Codes

📚 SEE ALSO

cache_check(8), cache_repair(8), cache_restore(8)

✍️ AUTHOR

Joe Thornber <ejt AT redhat.com>, Heinz Mauelshagen <HeinzM AT RedHat.com>

System Manager's Manual Device Mapper Tools cache_dump(8)

cache_dump(8)
📖 NAME 🚀 Quick Reference 🔧 SYNOPSIS 📝 DESCRIPTION ⚙️ OPTIONS
🆘 -h, --help 🆘 -V, --version 🔧 -r, --repair 📁 -o {xml file}
💡 EXAMPLES 🔍 DIAGNOSTICS 🚪 Exit Codes 📚 SEE ALSO ✍️ AUTHOR

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-29 03:59 @216.73.216.101
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!