cache_writeback(8)
β¨ NAME β¨
okay so this is cache_writeback(8) π and it's basically the tool that writes - dirty blocks - back to the origin device π§
π SYNOPSIS π
cache_writeback [options] --metadata-device {device|file} --origin-device {device|file} --fast-device {device|file}
πΈ DESCRIPTION πΈ
bestie, cache_writeback is an offline tool π it writes back dirty data to the data device (origin). it's meant for recovery scenarios where the SSD is throwing IO errors π so like, when your fast device is being dramatic, this is your rescue squad π«Ά
β οΈ this tool cannot be run on a live cache. do NOT try it on a cache that's still active π
π OPTIONS π
-h,--helpβ print help and exit π-V,--versionβ print version information and exit β¨--metadata-device {device|file}β where the cache metadata lives π§--origin-device {device|file}β the slow device being cached π’--fast-device {device|file}β the fast device holding the data that needs to be written back β‘ this is the one with the stuff that needs rescuing π¦--no-metadata-updateβ don't update the metadata to clear the dirty flags π ββοΈ- ngl you might want this one if you're decommissioning the cache π«Ά
--buffer-size-meg {size}β sets the size of the data cache, in megabytes π- it defaults to 64 MiB, but a bigger size may improve performance π
--list-failed-blocksβ lists any blocks that failed the writeback process π
π¦ SEE ALSO π¦
cache_dump(8), cache_check(8), cache_repair(8), cache_restore(8) π
π AUTHOR π
Joe Thornber <ejt@redhat.com> π
and that's the whole tea, bestie π«Ά this page came from cache_writeback(8), the Device Mapper Tools System Manager's Manual page π periodt β¨
π¦ 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