{"id":3577,"date":"2022-12-20T17:09:03","date_gmt":"2022-12-20T20:09:03","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xfs_info-man8\/"},"modified":"2022-12-20T17:09:03","modified_gmt":"2022-12-20T20:09:03","slug":"xfs_info-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xfs_info-man8\/","title":{"rendered":"xfs_info (man8)"},"content":{"rendered":"<h1 align=\"center\">xfs_info<\/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=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">xfs_info \u2212 display XFS filesystem geometry information<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_info<\/b> [ <b>\u2212t<\/b> <i>mtab<\/i> ] [ <i>mount-point<\/i> | <i>block-device<\/i> | <i>file-image<\/i> ] <b><br \/> xfs_info \u2212V<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_info<\/b> displays geometry information about an existing XFS filesystem. The <i>mount-point<\/i> argument is the pathname of a directory where the filesystem is mounted. The <i>block-device<\/i> or <i>file-image<\/i> contain a raw XFS filesystem. The existing contents of the filesystem are undisturbed.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\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 style=\"margin-top: 1em\"><b>\u2212t<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Specifies an alternate mount table file (default is <i>\/proc\/mounts<\/i> if it exists, else <i>\/etc\/mtab<\/i>). This is used when working with filesystems mounted without writing to <i>\/etc\/mtab<\/i> file &#8211; refer to <b>mount<\/b>(8) for further details. This option has no effect with the <i>block-device<\/i> or <i>file-image<\/i> parameters.<\/p>\n<\/td>\n<\/tr>\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=\"78%\">\n<p>Prints the version number and exits. The <i>mount-point<\/i> argument is not required with <b>\u2212V<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Understanding xfs_info output.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Suppose one has the following &#8220;xfs_info \/dev\/sda&#8221; output:<\/p>\n<p style=\"margin-left:14%; margin-top: 1em\">meta-data=\/dev\/pmem0 isize=512 agcount=8, agsize=5974144 blks <br \/> = sectsz=512 attr=2, projid32bit=1 <br \/> = crc=1 finobt=1, sparse=1, rmapbt=1 <br \/> = reflink=1 <br \/> data = bsize=4096 blocks=47793152, imaxpct=25 <br \/> = sunit=32 swidth=128 blks <br \/> naming =version 2 bsize=4096 ascii-ci=0, ftype=1 <br \/> log =internal log bsize=4096 blocks=23336, version=2 <br \/> = sectsz=512 sunit=0 blks, lazy-count=1 <br \/> realtime =none extsz=4096 blocks=0, rtextents=0<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Here, the data section of the output indicates &#8220;bsize=4096&#8221;, meaning the data block size for this filesystem is 4096 bytes. This section also shows &#8220;sunit=32 swidth=128 blks&#8221;, which means the stripe unit is 32*4096 bytes = 128 kibibytes and the stripe width is 128*4096 bytes = 512 kibibytes. A single stripe of this filesystem therefore consists of four stripe units (128 blocks \/ 32 blocks per unit).<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mkfs.xfs<\/b>(8), <b>md<\/b>(4), <b>lvm<\/b>(8), <b>mount<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  xfs_info \u2212 display XFS filesystem geometry information <\/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,695],"class_list":["post-3577","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-xfs_info"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3577","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=3577"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3577\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}