cache_writeback - writeback dirty blocks to the origin device.
| Use Case | Command | Description |
|---|---|---|
| đž Writeback dirty blocks | cache_writeback --metadata-device {device} --origin-device {device} --fast-device {device} |
Write back dirty cached data to the origin device |
| â List failed blocks | cache_writeback --metadata-device {device} --origin-device {device} --fast-device {device} --list-failed-blocks |
List any blocks that failed the writeback process |
cache_writeback [options] --metadata-device {device|file} --origin-device {device|file} --fast-device {device|file}
cache_writeback is an offline tool that writes back dirty data to the data device (origin). Intended for use in recovery scenarios when the SSD is giving IO errors.
â ī¸ This tool cannot be run on a live cache.
Print help and exit.
Print version information and exit.
Location of cache metadata.
Slow device being cached.
Fast device containing the data that needs to be written back.
Do not update the metadata to clear the dirty flags.
You may want to use this flag if you're decommissioning the cache.
Specify the size for the metadata cache.
Defaults to 16 Gig, a larger size may improve performance.
List any blocks that failed the writeback process.
cache_dump(8), cache_check(8), cache_repair(8), cache_restore(8)
Joe Thornber <ejt AT redhat.com>
System Manager's Manual Device Mapper Tools cache_writeback(8)
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-28 01:55 @216.73.216.67
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)