{"id":3543,"date":"2022-12-20T17:08:58","date_gmt":"2022-12-20T20:08:58","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xfs_estimate-man8\/"},"modified":"2022-12-20T17:08:58","modified_gmt":"2022-12-20T20:08:58","slug":"xfs_estimate-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xfs_estimate-man8\/","title":{"rendered":"xfs_estimate (man8)"},"content":{"rendered":"<h1 align=\"center\">xfs_estimate<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">xfs_estimate \u2212 estimate the space that an XFS filesystem will take<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_estimate<\/b> [ <b>\u2212h<\/b> ] [ <b>\u2212b<\/b> blocksize ] [ <b>\u2212i<\/b> logsize ]<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"77%\">\n<p>[ <b>\u2212e<\/b> logsize ] [ <b>\u2212v<\/b> ] directory &#8230;<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>xfs_estimate \u2212V<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">For each <i>directory<\/i> argument, <i>xfs_estimate<\/i> estimates the space that directory would take if it were copied to an XFS filesystem. <i>xfs_estimate<\/i> does not cross mount points. The following definitions are used:<\/p>\n<p style=\"margin-left:22%;\">KB = *1024 <br \/> MB = *1024*1024 <br \/> GB = *1024*1024*1024<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>xfs_estimate<\/i> options are: <b><br \/> \u2212b<\/b> <i>blocksize<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>blocksize<\/i> instead of the default blocksize of 4096 bytes. The modifier <b>k<\/b> can be used after the number to indicate multiplication by 1024. For example,<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"85%\">\n<p><b><i>xfs_estimate \u2212b 64k \/<\/i><\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">requests an estimate of the space required by the directory \/ on an XFS filesystem using a blocksize of 64K (65536) bytes.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"55%\">\n<p>Display more information, formatted.<\/p>\n<\/td>\n<td width=\"23%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212h<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"55%\">\n<p>Display usage message.<\/p>\n<\/td>\n<td width=\"23%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212i, \u2212e<\/b> <i>logsize<\/i><\/p>\n<p style=\"margin-left:22%;\">Use <i>logsize<\/i> instead of the default log size of 1000 blocks. <b>\u2212i<\/b> refers to an internal log, while <b>\u2212e<\/b> refers to an external log. The modifiers <b>k<\/b> or <b>m<\/b> can be used after the number to indicate multiplication by 1024 or 1048576, respectively.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">For example,<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b><i>xfs_estimate \u2212i 1m \/<\/i><\/b><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">requests an estimate of the space required by the directory \/ on an XFS filesystem using an internal log of 1 megabyte.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212V<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"53%\">\n<p>Print the version number and exits.<\/p>\n<\/td>\n<td width=\"25%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">% <b><i>xfs_estimate \u2212e 10m \/var\/tmp<\/i><\/b><\/p>\n<pre style=\"margin-left:11%;\"><b>\/var\/tmp will take about 4.2 megabytes with the external log using 2560 blocks or about 10.0 megabytes %<\/b><b><i> xfs_estimate \u2212v \u2212e 10m \/var\/tmp <\/i><\/b><b>directory bsize blocks megabytes logsize \/var\/tmp 4096 792 4.0MB 10485760 %<\/b><b><i> xfs_estimate \u2212v \/var\/tmp <\/i><\/b><b>directory bsize blocks megabytes logsize \/var\/tmp 4096 3352 14.0MB 10485760 %<\/b><b><i> xfs_estimate \/var\/tmp <\/i><\/b><b>\/var\/tmp will take about 14.0 megabytes<\/b><\/pre>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  xfs_estimate \u2212 estimate the space that an XFS filesystem will take <\/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,4,663],"class_list":["post-3543","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-xfs_estimate"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3543","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=3543"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3543\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}