{"id":3727,"date":"2022-12-20T17:19:52","date_gmt":"2022-12-20T20:19:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/cache_metadata_size-man8\/"},"modified":"2022-12-20T17:19:52","modified_gmt":"2022-12-20T20:19:52","slug":"cache_metadata_size-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/cache_metadata_size-man8\/","title":{"rendered":"cache_metadata_size (man8)"},"content":{"rendered":"<h1 align=\"center\">cache_metadata_size<\/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=\"#EXAMPLE\">EXAMPLE<\/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_metadata_size<\/b> &#8211; Estimate the size of the metadata device needed for a given configuration.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_metadata_size<\/b> [<i>options<\/i>]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cache_metadata_size estimates the size of the metadata.<\/b><\/p>\n<p style=\"margin-left:22%;\">Either <b>&#8211;nr-blocks<\/b>, or <b>&#8211;block-size<\/b> and <b>&#8211;device-size<\/b> must be specified.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>&#8211;nr-blocks {natural}<\/b><\/p>\n<p style=\"margin-left:22%;\">Specify the number of cache blocks.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;block-size {sectors}<\/b><\/p>\n<p style=\"margin-left:22%;\">Specify the size of each cache block in 512 byte sectors.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;device-size {sectors}<\/b><\/p>\n<p style=\"margin-left:22%;\">Specify total size of the fast device used in the cache. In 512 byte sectors.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;max-hint-width {nr bytes}<\/b><\/p>\n<p style=\"margin-left:22%;\">Specify hint width.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Cache policies use a per block \u2019hint\u2019 to record extra info (for instance <br \/> hit counts). At the moment all policies use a 4 byte hint <br \/> width. If you want to use a different hint width specify it with this <br \/> switch.<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">$ <b>cache_metadata_size &#8211;nr-blocks<\/b> 10240<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$ <b>cache_metadata_size &#8211;block-size<\/b> 128 <b>&#8211;device-size<\/b> 1024000<\/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_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>, Heinz Mauelshagen <heinzm@redhat.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  cache_metadata_size &#8211; Estimate the size of the metadata device needed for a given configuration. <\/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,835,4],"class_list":["post-3727","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-cache_metadata_size","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3727","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=3727"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3727\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}