{"id":2669,"date":"2022-12-20T15:17:00","date_gmt":"2022-12-20T18:17:00","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/cache_writeback-man8\/"},"modified":"2022-12-20T15:17:00","modified_gmt":"2022-12-20T18:17:00","slug":"cache_writeback-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/cache_writeback-man8\/","title":{"rendered":"cache_writeback (man8)"},"content":{"rendered":"<h1 align=\"center\">cache_writeback<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_writeback<\/b> &#8211; writeback dirty blocks to the origin device.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_writeback<\/b> [<i>options<\/i>] <b>&#8211;metadata-device<\/b> {device|file} <b>&#8211;origin-device<\/b> {device|file} <b>&#8211;fast-device<\/b> {device|file}<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_writeback<\/b> 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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This tool cannot be run on a live cache.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>-h, &#8211;help<\/b><\/p>\n<p style=\"margin-left:22%;\">Print help and exit.<\/p>\n<p style=\"margin-left:11%;\"><b>-V, &#8211;version<\/b><\/p>\n<p style=\"margin-left:22%;\">Print version information and exit.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;metadata-device {device|file}<\/b><\/p>\n<p style=\"margin-left:22%;\">Location of cache metadata.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;origin-device {device|file}<\/b><\/p>\n<p style=\"margin-left:22%;\">Slow device being cached.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;fast-device {device|file}<\/b><\/p>\n<p style=\"margin-left:22%;\">Fast device containing the data that needs to be written back.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;no-metadata-update<\/b><\/p>\n<p style=\"margin-left:22%;\">Do not update the metadata to clear the dirty flags.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">You may want to use this flag if you\u2019re decommissioning the cache. <b><br \/> &#8211;buffer-size-meg {size}<\/b><\/p>\n<p style=\"margin-left:22%;\">Specify the size for the metadata cache.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Defaults to 16 Gig, a larger size may improve performance. <b><br \/> &#8211;list-failed-blocks<\/b><\/p>\n<p style=\"margin-left:22%;\">List any blocks that failed the writeback process.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_dump<\/b>(8), <b>cache_check<\/b>(8), <b>cache_repair<\/b>(8), <b>cache_restore<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Joe Thornber <ejt@redhat.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  cache_writeback &#8211; writeback dirty blocks to the origin device. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,17,4],"class_list":["post-2669","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-cache_writeback","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2669"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2669\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}