{"id":2704,"date":"2022-12-20T15:17:04","date_gmt":"2022-12-20T18:17:04","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xfs_db-man8\/"},"modified":"2022-12-20T15:17:04","modified_gmt":"2022-12-20T18:17:04","slug":"xfs_db-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xfs_db-man8\/","title":{"rendered":"xfs_db (man8)"},"content":{"rendered":"<h1 align=\"center\">xfs_db<\/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=\"#CONCEPTS\">CONCEPTS<\/a><br \/> <a href=\"#COMMANDS\">COMMANDS<\/a><br \/> <a href=\"#TYPES\">TYPES<\/a><br \/> <a href=\"#DIAGNOSTICS\">DIAGNOSTICS<\/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_db \u2212 debug an XFS filesystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_db<\/b> [ <b>\u2212c<\/b> <i>cmd<\/i> ] &#8230; [ <b>\u2212i<\/b>|<b>r<\/b>|<b>x<\/b>|<b>F<\/b> ] [ <b>\u2212f<\/b> ] [ <b>\u2212l<\/b> <i>logdev<\/i> ] [ <b>\u2212p<\/b> <i>progname<\/i> ] <i>device<\/i> <b><br \/> xfs_db \u2212V<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_db<\/b> is used to examine an XFS filesystem. Under rare circumstances it can also be used to modify an XFS filesystem, but that task is normally left to <b>xfs_repair<\/b>(8) or to scripts such as <b>xfs_admin<\/b>(8) that run <b>xfs_db<\/b>.<\/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=\"9%\">\n<p style=\"margin-top: 1em\"><b>\u2212c<\/b> <i>cmd<\/i><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\"><b>xfs_db<\/b> commands may be run interactively (the default) or as arguments on the command line. Multiple <b>\u2212c<\/b> arguments may be given. The commands are run in the sequence given, then the program exits.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212f<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Specifies that the filesystem image to be processed is stored in a regular file at <i>device<\/i> (see the <b>mkfs.xfs<\/b>(8) <b>-d<\/b> <i>file<\/i> option). This might happen if an image copy of a filesystem has been made into an ordinary file with <b>xfs_copy<\/b>(8).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212F<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Specifies that we want to continue even if the superblock magic is not correct. For use in <b>xfs_metadump<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Allows execution on a mounted filesystem, provided it is mounted read-only. Useful for shell scripts which must only operate on filesystems in a guaranteed consistent state (either unmounted or mounted read-only). These semantics are slightly different to that of the <b>-r<\/b> option.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212l<\/b> <i>logdev<\/i><\/p>\n<p style=\"margin-left:22%;\">Specifies the device where the filesystems external log resides. Only for those filesystems which use an external log. See the <b>mkfs.xfs<\/b>(8) <b>\u2212l<\/b> option, and refer to <b>xfs<\/b>(5) for a detailed description of the XFS log.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p<\/b> <i>progname<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the program name to <i>progname<\/i> for prompts and some error messages, the default value is <b>xfs_db<\/b>.<\/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>-r<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Open <i>device<\/i> or <i>filename<\/i> read-only. This option is required if the filesystem is mounted. It is only necessary to omit this flag if a command that changes data (<b>write<\/b>, <b>blocktrash<\/b>, <b>crc<\/b>) is to be used.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212x<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Specifies expert mode. This enables the (<b>write<\/b>, <b>blocktrash<\/b>, <b>crc<\/b> invalidate\/revalidate) commands.<\/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.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>CONCEPTS <a name=\"CONCEPTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_db<\/b> commands can be broken up into two classes. Most commands are for the navigation and display of data structures in the filesystem. Other commands are for scanning the filesystem in some way.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Commands which are used to navigate the filesystem structure take arguments which reflect the names of filesystem structure fields. There can be multiple field names separated by dots when the underlying structures are nested, as in C. The field names can be indexed (as an array index) if the underlying field is an array. The array indices can be specified as a range, two numbers separated by a dash.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_db<\/b> maintains a current address in the filesystem. The granularity of the address is a filesystem structure. This can be a filesystem block, an inode or quota (smaller than a filesystem block), or a directory block (could be larger than a filesystem block). There are a variety of commands to set the current address. Associated with the current address is the current data type, which is the structural type of this data. Commands which follow the structure of the filesystem always set the type as well as the address. Commands which examine pieces of an individual file (inode) need the current inode to be set, this is done with the <b>inode<\/b> command.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The current address\/type information is actually maintained in a stack that can be explicitly manipulated with the <b>push<\/b>, <b>pop<\/b>, and <b>stack<\/b> commands. This allows for easy examination of a nested filesystem structure. Also, the last several locations visited are stored in a ring buffer which can be manipulated with the <b>forward<\/b>, <b>back<\/b>, and <b>ring<\/b> commands.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">XFS filesystems are divided into a small number of allocation groups. <b>xfs_db<\/b> maintains a notion of the current allocation group which is manipulated by some commands. The initial allocation group is 0.<\/p>\n<h2>COMMANDS <a name=\"COMMANDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Many commands have extensive online help. Use the <b>help<\/b> command for more details on any command.<\/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=\"1%\">\n<p style=\"margin-top: 1em\"><b>a<\/b><\/p>\n<\/td>\n<td width=\"10%\"><\/td>\n<td width=\"32%\">\n<p style=\"margin-top: 1em\">See the <b>addr<\/b> command.<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ablock<\/b> <i>filoff<\/i><\/p>\n<p style=\"margin-left:22%;\">Set current address to the offset <i>filoff<\/i> (a filesystem block number) in the attribute area of the current inode.<\/p>\n<p style=\"margin-left:11%;\"><b>addr [<\/b><i>field-expression<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the value of the <i>field-expression<\/i>. This is used to &#8220;follow&#8221; a reference in one structure to the object being referred to. If no argument is given, the current address is printed.<\/p>\n<p style=\"margin-left:11%;\"><b>agf [<\/b><i>agno<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the AGF block for allocation group <i>agno<\/i>. If no argument is given, use the current allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>agfl [<\/b><i>agno<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the AGFL block for allocation group <i>agno<\/i>. If no argument is given, use the current allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>agi [<\/b><i>agno<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the AGI block for allocation group <i>agno<\/i>. If no argument is given, use the current allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>agresv [<\/b><i>agno<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Displays the length, free block count, per-AG reservation size, and per-AG reservation usage for a given AG. If no argument is given, display information for all AGs.<\/p>\n<p style=\"margin-left:11%;\"><b>attr_remove [\u2212r|\u2212u|\u2212s] [\u2212n]<\/b> <i>name<\/i><\/p>\n<p style=\"margin-left:22%;\">Remove the specified extended attribute from the current file.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212r<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the root namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212u<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the user namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the secure namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Do not enable \u2019noattr2\u2019 mode on V4 filesystems.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>attr_set [\u2212r|\u2212u|\u2212s] [\u2212n] [\u2212R|\u2212C] [\u2212v<\/b> <i>namelen<\/i><b>]<\/b> <i>name<\/i><\/p>\n<p style=\"margin-left:22%;\">Sets an extended attribute on the current file with the given name.<\/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=\"18%\">\n<p><b>\u2212r<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the root namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212u<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the user namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Sets the attribute in the secure namespace. Only one namespace option can be specified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Do not enable \u2019noattr2\u2019 mode on V4 filesystems.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212R<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Replace the attribute. The command will fail if the attribute does not already exist.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212C<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Create the attribute. The command will fail if the attribute already exists.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Set the attribute value to a string of this length containing the letter \u2019v\u2019.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>b<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See the <b>back<\/b> command.<\/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=\"6%\">\n<p style=\"margin-top: 1em\"><b>back<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Move to the previous location in the position ring.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>blockfree<\/b><\/p>\n<p style=\"margin-left:22%;\">Free block usage information collected by the last execution of the <b>blockget<\/b> command. This must be done before another <b>blockget<\/b> command can be given, presumably with different arguments than the previous one.<\/p>\n<p style=\"margin-left:11%;\"><b>blockget [\u2212npvs] [\u2212b<\/b> <i>bno<\/i><b>] &#8230; [\u2212i<\/b> <i>ino<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Get block usage and check filesystem consistency. The information is saved for use by a subsequent <b>blockuse<\/b>, <b>ncheck<\/b>, or <b>blocktrash<\/b> command.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212b<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>is used to specify filesystem block numbers about which verbose information should be printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>is used to specify inode numbers about which verbose information should be printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>is used to save pathnames for inodes visited, this is used to support the <b>xfs_ncheck<\/b>(8) command. It also means that pathnames will be printed for inodes that have problems. This option uses a lot of memory so is not enabled by default.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212p<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>causes error messages to be prefixed with the filesystem name being processed. This is useful if several copies of <b>xfs_db<\/b> are run in parallel.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>restricts output to severe errors only. This is useful if the output is too long otherwise.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables verbose output. Messages will be printed for every block and inode processed.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>blocktrash [-z] [\u2212o<\/b> <i>offset<\/i><b>] [\u2212n<\/b> <i>count<\/i><b>] [\u2212x<\/b> <i>min<\/i><b>] [\u2212y<\/b> <i>max<\/i><b>] [\u2212s<\/b> <i>seed<\/i><b>] <br \/> [\u22120|1|2|3] [\u2212t<\/b> <i>type<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Trash randomly selected filesystem metadata blocks. Trashing occurs to randomly selected bits in the chosen blocks. This command is available only in debugging versions of <b>xfs_db<\/b>. It is useful for testing <b>xfs_repair<\/b>(8).<\/p>\n<p style=\"margin-left:26%;\"><b>\u22120<\/b> | <b>-1<\/b> | <b>-2<\/b> | <b>-3<\/b><\/p>\n<p style=\"margin-left:32%;\">These are used to set the operating mode for <b>blocktrash<\/b>. Only one can be used: <b>\u22120<\/b> changed bits are cleared; <b>\u22121<\/b> changed bits are set; <b>-2<\/b> changed bits are inverted; <b>-3<\/b> changed bits are randomized.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>supplies the <i>count<\/i> of block-trashings to perform (default 1).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212o<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>supplies the bit <i>offset<\/i> at which to start trashing the block. If the value is preceded by a \u2019+\u2019, the trashing will start at a randomly chosen offset that is larger than the value supplied. The default is to randomly choose an offset anywhere in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>supplies a <i>seed<\/i> to the random processing.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212t<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>gives a <i>type<\/i> of blocks to be selected for trashing. Multiple <b>\u2212t<\/b> options may be given. If no <b>\u2212t<\/b> options are given then all metadata types can be trashed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212x<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>sets the <i>minimum<\/i> size of bit range to be trashed. The default value is 1.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212y<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>sets the <i>maximum<\/i> size of bit range to be trashed. The default value is 1024.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212z<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>trashes the block at the top of the stack. It is not necessary to run <b>blockget<\/b> if this option is supplied.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>blockuse [\u2212n] [\u2212c<\/b> <i>count<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Print usage for current filesystem block(s). For each block, the type and (if any) inode are printed.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212c<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies a <i>count<\/i> of blocks to process. The default value is 1 (the current block only).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that file names should be printed. The prior <b>blockget<\/b> command must have also specified the <b>\u2212n<\/b> option.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>bmap [\u2212a] [\u2212d] [<\/b><i>block<\/i> <b>[<\/b><i>len<\/i><b>]]<\/b><\/p>\n<p style=\"margin-left:22%;\">Show the block map for the current inode. The map display can be restricted to an area of the file with the <i>block<\/i> and <i>len<\/i> arguments. If <i>block<\/i> is given and <i>len<\/i> is omitted then 1 is assumed for len.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The <b>\u2212a<\/b> and <b>\u2212d<\/b> options are used to select the attribute or data area of the inode, if neither option is given then both areas are shown.<\/p>\n<p style=\"margin-left:11%;\"><b>btdump [-a] [-i]<\/b><\/p>\n<p style=\"margin-left:22%;\">If the cursor points to a btree node, dump the btree from that block downward. If instead the cursor points to an inode, dump the data fork block mapping btree if there is one. If the cursor points to a directory or extended attribute btree node, dump that. By default, only records stored in the btree are dumped.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212a<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>If the cursor points at an inode, dump the extended attribute block mapping btree, if present.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Dump all keys and pointers in intermediate btree nodes, and all records in leaf btree nodes.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>btheight [\u2212b<\/b> <i>blksz<\/i><b>] [\u2212n<\/b> <i>recs<\/i><b>] [\u2212w<\/b> <i>max<\/i><b>|\u2212w<\/b> <i>min<\/i><b>] btree types&#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">For a given number of btree records and a btree type, report the number of records and blocks for each level of the btree, and the total number of blocks. The btree type must be given after the options.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">A raw btree geometry can be provided in the format &#8220;record_bytes:key_bytes:ptr_bytes:header_type&#8221;, where header_type is one of &#8220;short&#8221;, &#8220;long&#8221;, &#8220;shortcrc&#8221;, or &#8220;longcrc&#8221;.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The supported btree types are: <i>bnobt<\/i>, <i>cntbt<\/i>, <i>inobt<\/i>, <i>finobt<\/i>, <i>bmapbt<\/i>, <i>refcountbt<\/i>, and <i>rmapbt<\/i>.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Options are as follows:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212b<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>is used to override the btree block size. The default is the filesystem block size.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212n<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>is used to specify the number of records to store. This argument is required.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\"><b>\u2212w max<\/b><\/p>\n<p style=\"margin-left:32%;\">shows only the best case scenario, which is when the btree blocks are maximally loaded.<\/p>\n<p style=\"margin-left:26%;\"><b>\u2212w min<\/b><\/p>\n<p style=\"margin-left:32%;\">shows only the worst case scenario, which is when the btree blocks are half full.<\/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=\"7%\">\n<p><b>check<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"38%\">\n<p>See the <b>blockget<\/b> command.<\/p>\n<\/td>\n<td width=\"40%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>convert<\/b> <i>type number<\/i> <b>[<\/b><i>type number<\/i><b>] &#8230;<\/b> <i>type<\/i><\/p>\n<p style=\"margin-left:22%;\">Convert from one address form to another. The known <i>type<\/i>s, with alternate names, are:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"11%\">\n<p><b>agblock<\/b><\/p>\n<\/td>\n<td width=\"63%\">\n<p>or <b>agbno<\/b> (filesystem block within an allocation group)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"11%\">\n<p><b>agino<\/b><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">or <b>aginode<\/b> (inode number within an allocation group)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"12%\">\n<p><b>agnumber<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"51%\">\n<p>or <b>agno<\/b> (allocation group number)<\/p>\n<\/td>\n<td width=\"9%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"12%\">\n<p><b>bboff<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"51%\"><\/td>\n<td width=\"9%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">or <b>daddroff<\/b> (byte offset in a <b>daddr<\/b>)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"9%\">\n<p><b>blkoff<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"63%\">\n<p>or <b>fsboff or agboff<\/b> (byte offset in a <b>agblock<\/b> or <b>fsblock<\/b>)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"9%\">\n<p><b>byte<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">or <b>fsbyte<\/b> (byte address in filesystem)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"8%\">\n<p><b>daddr<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"57%\">\n<p>or <b>bb<\/b> (disk address, 512-byte blocks)<\/p>\n<\/td>\n<td width=\"8%\"> <\/td>\n<\/tr>\n<\/table>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"5%\">\n<p><b>fsblock<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>or <b>fsb<\/b> or <b>fsbno<\/b> (filesystem block, see the <b>fsblock<\/b> command)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"5%\">\n<p><b>ino<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>or <b>inode<\/b> (inode number)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"9%\">\n<p><b>inoidx<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"63%\">\n<p>or <b>offset<\/b> (index of inode in filesystem block)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"9%\">\n<p><b>inooff<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"63%\">\n<p>or <b>inodeoff<\/b> (byte offset in inode)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">Only conversions that &#8220;make sense&#8221; are allowed. The compound form (with more than three arguments) is useful for conversions such as <b>convert agno<\/b> <i>ag<\/i> <b>agbno<\/b> <i>agb<\/i> <b>fsblock<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>crc [\u2212i|\u2212r|\u2212v]<\/b><\/p>\n<p style=\"margin-left:22%;\">Invalidates, revalidates, or validates the CRC (checksum) field of the current structure, if it has one. This command is available only on CRC-enabled filesystems. With no argument, validation is performed. Each command will display the resulting CRC value and state.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Invalidate the structure\u2019s CRC value (incrementing it by one), and write it to disk.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212r<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Recalculate the current structure\u2019s correct CRC value, and write it to disk.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Validate and display the current value and state of the structure\u2019s CRC.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>daddr [<\/b><i>d<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the daddr (512 byte block) given by <i>d<\/i>. If no value for <i>d<\/i> is given, the current address is printed, expressed as a daddr. The type is set to <b>data<\/b> (uninterpreted).<\/p>\n<p style=\"margin-left:11%;\"><b>dblock<\/b> <i>filoff<\/i><\/p>\n<p style=\"margin-left:22%;\">Set current address to the offset <i>filoff<\/i> (a filesystem block number) in the data area of the current inode.<\/p>\n<p style=\"margin-left:11%;\"><b>debug [<\/b><i>flagbits<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set debug option bits. These are used for debugging <b>xfs_db<\/b>. If no value is given for <i>flagbits<\/i>, print the current debug option bits. These are for the use of the implementor.<\/p>\n<p style=\"margin-left:11%;\"><b>dquot [<\/b><i>\u2212g<\/i><b>|<\/b><i>\u2212p<\/i><b>|<\/b><i>\u2212u<\/i><b>]<\/b> <i>id<\/i><\/p>\n<p style=\"margin-left:22%;\">Set current address to a group, project or user quota block for the given ID. Defaults to user quota.<\/p>\n<p style=\"margin-left:11%;\"><b>echo [<\/b><i>arg<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Echo the arguments to the output.<\/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=\"1%\">\n<p><b>f<\/b><\/p>\n<\/td>\n<td width=\"10%\"><\/td>\n<td width=\"36%\">\n<p>See the <b>forward<\/b> command.<\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>forward<\/b><\/p>\n<p style=\"margin-left:22%;\">Move forward to the next entry in the position ring.<\/p>\n<p style=\"margin-left:11%;\"><b>frag [\u2212adflqRrv]<\/b><\/p>\n<p style=\"margin-left:22%;\">Get file fragmentation data. This prints information about fragmentation of file data in the filesystem (as opposed to fragmentation of freespace, for which see the <b>freesp<\/b> command). Every file in the filesystem is examined to see how far from ideal its extent mappings are. A summary is printed giving the totals.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>sets verbosity, every inode has information printed for it. The remaining options select which inodes and extents are examined. If no options are given then all are assumed set, otherwise just those given are enabled.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212a<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of attribute data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212d<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of directory data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212f<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of regular file data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212l<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of symbolic link data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212q<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of quota file data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212R<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of realtime control file data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212r<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>enables processing of realtime file data.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>freesp [\u2212bcds] [\u2212A<\/b> <i>alignment<\/i><b>] [\u2212a<\/b> <i>ag<\/i><b>] &#8230; [\u2212e<\/b> <i>i<\/i><b>] [\u2212h<\/b> <i>h1<\/i><b>] &#8230; [\u2212m<\/b> <i>m<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Summarize free space for the filesystem. The free blocks are examined and totalled, and displayed in the form of a histogram, with a count of extents in each range of free extent sizes.<\/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=\"18%\">\n<p><b>\u2212A<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>reports only free extents with starting blocks aligned to <i>alignment<\/i> blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212a<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>adds <i>ag<\/i> to the list of allocation groups to be processed. If no <b>\u2212a<\/b> options are given then all allocation groups are processed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212b<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that the histogram buckets are binary-sized, with the starting sizes being the powers of 2.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212c<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that <b>freesp<\/b> will search the by-size (cnt) space Btree instead of the default by-block (bno) space Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212d<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that every free extent will be displayed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212e<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that the histogram buckets are equal-sized, with the size specified as <i>i<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212h<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies a starting block number for a histogram bucket as <i>h1<\/i>. Multiple <b>\u2212h<\/b>\u2019s are given to specify the complete set of buckets.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212m<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that the histogram starting block numbers are powers of <i>m<\/i>. This is the general case of <b>\u2212b<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that a final summary of total free extents, free blocks, and the average free extent size is printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>fsb<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See the <b>fsblock<\/b> command.<\/p>\n<p style=\"margin-left:11%;\"><b>fsblock [<\/b><i>fsb<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to the fsblock value given by <i>fsb<\/i>. If no value for <i>fsb<\/i> is given the current address is printed, expressed as an fsb. The type is set to <b>data<\/b> (uninterpreted). XFS filesystem block numbers are computed ((<i>agno<\/i> << <i>agshift<\/i>) | <i>agblock<\/i>) where <i>agshift<\/i> depends on the size of an allocation group. Use the <b>convert<\/b> command to convert to and from this form. Block numbers given for file blocks (for instance from the <b>bmap<\/b> command) are in this form.<\/p>\n<p style=\"margin-left:11%;\"><b>fsmap [<\/b> <i>start<\/i> <b>] [<\/b> <i>end<\/i> <b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Prints the mapping of disk blocks used by an XFS filesystem. The map lists each extent used by files, allocation group metadata, journalling logs, and static filesystem metadata, as well as any regions that are unused. All blocks, offsets, and lengths are specified in units of 512-byte blocks, no matter what the filesystem\u2019s block size is. <b>The optional<\/b> <i>start<\/i> <b>and<\/b> <i>end<\/i> <b>arguments can be used to constrain<\/b> the output to a particular range of disk blocks.<\/p>\n<p style=\"margin-left:11%;\"><b>fuzz [\u2212c] [\u2212d]<\/b> <i>field action<\/i><\/p>\n<p style=\"margin-left:22%;\">Write garbage into a specific structure field on disk. Expert mode must be enabled to use this command. The operation happens immediately; there is no buffering.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The fuzz command can take the following <i>action<\/i>s against a field:<\/p>\n<p style=\"margin-left:26%;\"><b>zeroes<\/b><\/p>\n<p style=\"margin-left:32%;\">Clears all bits in the field.<\/p>\n<p style=\"margin-left:26%;\"><b>ones<\/b><\/p>\n<p style=\"margin-left:32%;\">Sets all bits in the field.<\/p>\n<p style=\"margin-left:26%;\"><b>firstbit<\/b><\/p>\n<p style=\"margin-left:32%;\">Flips the first bit in the field. For a scalar value, this is the highest bit.<\/p>\n<p style=\"margin-left:26%;\"><b>middlebit<\/b><\/p>\n<p style=\"margin-left:32%;\">Flips the middle bit in the field.<\/p>\n<p style=\"margin-left:26%;\"><b>lastbit<\/b><\/p>\n<p style=\"margin-left:32%;\">Flips the last bit in the field. For a scalar value, this is the lowest bit.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"5%\">\n<p><b>add<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>Adds a small value to a scalar field.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"5%\">\n<p><b>sub<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"68%\">\n<p>Subtracts a small value from a scalar field.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\"><b>random<\/b><\/p>\n<p style=\"margin-left:32%;\">Randomizes the contents of the field.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The following switches affect the write behavior:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212c<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Skip write verifiers and CRC recalculation; allows invalid data to be written to disk.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212d<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Skip write verifiers but perform CRC recalculation; allows invalid data to be written to disk to test detection of invalid data.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>hash<\/b> <i>string<\/i><\/p>\n<p style=\"margin-left:22%;\">Prints the hash value of <i>string<\/i> using the hash function of the XFS directory and attribute implementation.<\/p>\n<p style=\"margin-left:11%;\"><b>help [<\/b><i>command<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Print help for one or all commands.<\/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=\"6%\">\n<p><b>info<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>Displays selected geometry information about the filesystem. The output will have the same format that <b>mkfs.xfs<\/b>(8) prints when creating a filesystem or <b>xfs_info<\/b>(8) prints when querying a filesystem.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>inode [<\/b><i>inode#<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the current inode number. If no <i>inode#<\/i> is given, print the current inode number.<\/p>\n<p style=\"margin-left:11%;\"><b>label [<\/b><i>label<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the filesystem label. The filesystem label can be used by <b>mount<\/b>(8) instead of using a device special file. The maximum length of an XFS label is 12 characters \u2212 use of a longer <i>label<\/i> will result in truncation and a warning will be issued. If no <i>label<\/i> is given, the current filesystem label is printed.<\/p>\n<p style=\"margin-left:11%;\"><b>log [stop | start<\/b> <i>filename<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Start logging output to <i>filename<\/i>, stop logging, or print the current logging status.<\/p>\n<p style=\"margin-left:11%;\"><b>logformat [\u2212c<\/b> <i>cycle<\/i><b>] [\u2212s<\/b> <i>sunit<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Reformats the log to the specified log cycle and log stripe unit. This has the effect of clearing the log destructively. If the log cycle is not specified, the log is reformatted to the current cycle. If the log stripe unit is not specified, the stripe unit from the filesystem superblock is used.<\/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=\"9%\">\n<p><b>logres<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>Print transaction reservation size information for each transaction type. This makes it easier to find discrepancies in the reservation calculations between xfsprogs and the kernel, which will help when diagnosing minimum log size calculation errors.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ls [\u2212i] [<\/b><i>paths<\/i><b>]&#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">List the contents of a directory. If a path resolves to a directory, the directory will be listed. If no paths are supplied and the IO cursor points at a directory inode, the contents of that directory will be listed.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">The output format is: directory cookie, inode number, file type, hash, name length, name.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Resolve each of the given paths to an inode number and print that number. If no paths are given and the IO cursor points to an inode, print the inode number.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>metadump [\u2212egow]<\/b> <i>filename<\/i><\/p>\n<p style=\"margin-left:22%;\">Dumps metadata to a file. See <b>xfs_metadump<\/b>(8) for more information.<\/p>\n<p style=\"margin-left:11%;\"><b>ncheck [\u2212s] [\u2212i<\/b> <i>ino<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Print name-inode pairs. A <b>blockget \u2212n<\/b> command must be run first to gather the information.<\/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=\"18%\">\n<p><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies an inode number to be printed. If no <b>\u2212i<\/b> options are given then all inodes are printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>\u2212s<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>specifies that only setuid and setgid files are printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p><b>p<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">See the <b>print<\/b> command.<\/p>\n<p style=\"margin-left:11%;\"><b>path<\/b> <i>dir_path<\/i><\/p>\n<p style=\"margin-left:22%;\">Walk the directory tree to an inode using the supplied path. Absolute and relative paths are supported.<\/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=\"4%\">\n<p><b>pop<\/b><\/p>\n<\/td>\n<td width=\"7%\"><\/td>\n<td width=\"43%\">\n<p>Pop location from the stack.<\/p>\n<\/td>\n<td width=\"35%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>print [<\/b><i>field-expression<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Print field values. If no argument is given, print all fields in the current structure.<\/p>\n<p style=\"margin-left:11%;\"><b>push [<\/b><i>command<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Push location to the stack. If <i>command<\/i> is supplied, set the current location to the results of <i>command<\/i> after pushing the old location.<\/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=\"6%\">\n<p><b>q<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"32%\">\n<p>See the <b>quit<\/b> command.<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>quit<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"32%\">\n<p>Exit <b>xfs_db<\/b>.<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ring [<\/b><i>index<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Show position ring (if no <i>index<\/i> argument is given), or move to a specific entry in the position ring given by <i>index<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>sb [<\/b><i>agno<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set current address to SB header in allocation group <i>agno<\/i>. If no <i>agno<\/i> is given, use the current allocation group number.<\/p>\n<p style=\"margin-left:11%;\"><b>source<\/b> <i>source-file<\/i><\/p>\n<p style=\"margin-left:22%;\">Process commands from <i>source-file<\/i>. <b>source<\/b> commands can be nested.<\/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=\"7%\">\n<p><b>stack<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"36%\">\n<p>View the location stack.<\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>type [<\/b><i>type<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the current data type to <i>type<\/i>. If no argument is given, show the current data type. The possible data types are: <b>agf<\/b>, <b>agfl<\/b>, <b>agi<\/b>, <b>attr<\/b>, <b>bmapbta<\/b>, <b>bmapbtd<\/b>, <b>bnobt<\/b>, <b>cntbt<\/b>, <b>data<\/b>, <b>dir<\/b>, <b>dir2<\/b>, <b>dqblk<\/b>, <b>inobt<\/b>, <b>inode<\/b>, <b>log<\/b>, <b>refcntbt<\/b>, <b>rmapbt<\/b>, <b>rtbitmap<\/b>, <b>rtsummary<\/b>, <b>sb<\/b>, <b>symlink<\/b> and <b>text<\/b>. See the TYPES section below for more information on these data types.<\/p>\n<p style=\"margin-left:11%;\"><b>timelimit [<\/b><i>OPTIONS<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Print the minimum and maximum supported values for inode timestamps, quota expiration timers, and quota grace periods supported by this filesystem. Options include:<\/p>\n<p style=\"margin-left:26%;\"><b>\u2212-bigtime<\/b><\/p>\n<p style=\"margin-left:32%;\">Print the time limits of an XFS filesystem with the <b>bigtime<\/b> feature enabled.<\/p>\n<p style=\"margin-left:26%;\"><b>\u2212-classic<\/b><\/p>\n<p style=\"margin-left:32%;\">Print the time limits of a classic XFS filesystem.<\/p>\n<p style=\"margin-left:26%;\"><b>\u2212-compact<\/b><\/p>\n<p style=\"margin-left:32%;\">Print all limits as raw values on a single line.<\/p>\n<p style=\"margin-left:26%;\"><b>\u2212-pretty<\/b><\/p>\n<p style=\"margin-left:32%;\">Print the timestamps in the current locale\u2019s date and time format instead of raw seconds since the Unix epoch.<\/p>\n<p style=\"margin-left:11%;\"><b>uuid [<\/b><i>uuid<\/i> <b>|<\/b> <i>generate<\/i> <b>|<\/b> <i>rewrite<\/i> <b>|<\/b> <i>restore<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Set the filesystem universally unique identifier (UUID). The filesystem UUID can be used by <b>mount<\/b>(8) instead of using a device special file. The <i>uuid<\/i> can be set directly to the desired UUID, or it can be automatically generated using the <b>generate<\/b> option. These options will both write the UUID into every copy of the superblock in the filesystem. On a CRC-enabled filesystem, this will set an incompatible superblock flag, and the filesystem will not be mountable with older kernels. This can be reverted with the <b>restore<\/b> option, which will copy the original UUID back into place and clear the incompatible flag as needed. <b>rewrite<\/b> copies the current UUID from the primary superblock to all secondary copies of the superblock. If no argument is given, the current filesystem UUID is printed.<\/p>\n<p style=\"margin-left:11%;\"><b>version [<\/b><i>feature<\/i> <b>|<\/b> <i>versionnum features2<\/i><b>]<\/b><\/p>\n<p style=\"margin-left:22%;\">Enable selected features for a filesystem (certain features can be enabled on an unmounted filesystem, after <b>mkfs.xfs<\/b>(8) has created the filesystem). Support for unwritten extents can be enabled using the <b>extflg<\/b> option. Support for version 2 log format can be enabled using the <b>log2<\/b> option. Support for extended attributes can be enabled using the <b>attr1<\/b> or <b>attr2<\/b> option. Once enabled, extended attributes cannot be disabled, but the user may toggle between <b>attr1<\/b> and <b>attr2<\/b> at will (older kernels may not support the newer version).<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">If no argument is given, the current version and feature bits are printed. With one argument, this command will write the updated version number into every copy of the superblock in the filesystem. If two arguments are given, they will be used as numeric values for the <i>versionnum<\/i> and <i>features2<\/i> bits respectively, and their string equivalent reported (but no modifications are made).<\/p>\n<p style=\"margin-left:11%;\"><b>write [\u2212c|\u2212d] [<\/b><i>field value<\/i><b>] &#8230;<\/b><\/p>\n<p style=\"margin-left:22%;\">Write a value to disk. Specific fields can be set in structures (struct mode), or a block can be set to data values (data mode), or a block can be set to string values (string mode, for symlink blocks). The operation happens immediately: there is no buffering.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Struct mode is in effect when the current type is structural, i.e. not data. For struct mode, the syntax is &#8220;<b>write<\/b> <i>field value&#8221;.<\/i><\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Data mode is in effect when the current type is data. In this case the contents of the block can be shifted or rotated left or right, or filled with a sequence, a constant value, or a random value. In this mode <b>write<\/b> with no arguments gives more information on the allowed commands.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212c<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Skip write verifiers and CRC recalculation; allows invalid data to be written to disk.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"26%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212d<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"68%\">\n<p>Skip write verifiers but perform CRC recalculation. This allows invalid data to be written to disk to test detection of invalid data. (This is not possible for some types.)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>TYPES <a name=\"TYPES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This section gives the fields in each structure type and their meanings. Note that some types of block cover multiple actual structures, for instance directory blocks.<\/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=\"4%\">\n<p style=\"margin-top: 1em\"><b>agf<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\">The AGF block is the header for block allocation information; it is in the second 512-byte block of each allocation group. The following fields are defined:<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%; margin-top: 1em\"><b>magicnum<\/b><\/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=\"37%\"><\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">AGF block magic number, 0x58414746 (\u2019XAGF\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>versionnum<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>version number, currently 1.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>seqno<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>sequence number starting from 0.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>length<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>size in filesystem blocks of the allocation group. All allocation groups except the last one of the filesystem have the superblock\u2019s <b>agblocks<\/b> value here.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>bnoroot<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>block number of the root of the Btree holding free space information sorted by block number.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>cntroot<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>block number of the root of the Btree holding free space information sorted by block count.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>bnolevel<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of levels in the by-block-number Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>cntlevel<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of levels in the by-block-count Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>flfirst<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>index into the AGFL block of the first active entry.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>fllast<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>index into the AGFL block of the last active entry.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>flcount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>count of active entries in the AGFL block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>freeblks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>count of blocks represented in the freespace Btrees.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>longest<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>longest free space represented in the freespace Btrees.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>btreeblks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of blocks held in the AGF Btrees.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>agfl<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">The AGFL block contains block numbers for use of the block allocator; it is in the fourth 512-byte block of each allocation group. Each entry in the active list is a block number within the allocation group that can be used for any purpose if space runs low. The AGF block fields <b>flfirst<\/b>, <b>fllast<\/b>, and <b>flcount<\/b> designate which entries are currently active. Entry space is allocated in a circular manner within the AGFL block. Fields defined:<\/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=\"26%\">\n<p style=\"margin-top: 1em\"><b>bno<\/b><\/p>\n<\/td>\n<td width=\"14%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">array of all block numbers. Even those which are not active are printed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"26%\">\n<p><b>agi<\/b><\/p>\n<\/td>\n<td width=\"14%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">The AGI block is the header for inode allocation information; it is in the third 512-byte block of each allocation group. Fields defined:<\/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=\"37%\">\n<p style=\"margin-top: 1em\"><b>magicnum<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">AGI block magic number, 0x58414749 (\u2019XAGI\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>versionnum<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>version number, currently 1.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>seqno<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>sequence number starting from 0.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>length<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>size in filesystem blocks of the allocation group.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>count<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>count of inodes allocated.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>root<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>block number of the root of the Btree holding inode allocation information.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of levels in the inode allocation Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>freecount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>count of allocated inodes that are not in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>newino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>last inode number allocated.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>dirino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>unused.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>unlinked<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>an array of inode numbers within the allocation group. The entries in the AGI block are the heads of lists which run through the inode <b>next_unlinked<\/b> field. These inodes are to be unlinked the next time the filesystem is mounted.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>attr<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">An attribute fork is organized as a Btree with the actual data embedded in the leaf blocks. The root of the Btree is found in block 0 of the fork. The index (sort order) of the Btree is the hash value of the attribute name. All the blocks contain a <b>blkinfo<\/b> structure at the beginning, see type <b>dir<\/b> for a description. Nonleaf blocks are identical in format to those for version 1 and version 2 directories, see type <b>dir<\/b> for a description. Leaf blocks can refer to &#8220;local&#8221; or &#8220;remote&#8221; attribute values. Local values are stored directly in the leaf block. Leaf blocks contain the following fields:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p style=\"margin-top: 1em\"><b>hdr<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing a <b>blkinfo<\/b> structure <b>info<\/b> (magic number 0xfbee), a <b>count<\/b> of active entries, <b>usedbytes<\/b> total bytes of names and values, the <b>firstused<\/b> byte in the name area, <b>holes<\/b> set if the block needs compaction, and array <b>freemap<\/b> as for <b>dir<\/b> leaf blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>entries<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>array of structures containing a <b>hashval<\/b>, <b>nameidx<\/b> (index into the block of the name), and flags <b>incomplete<\/b>, <b>root<\/b>, and <b>local<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>nvlist<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>array of structures describing the attribute names and values. Fields always present: <b>valuelen<\/b> (length of value in bytes), <b>namelen<\/b>, and <b>name<\/b>. Fields present for local values: <b>value<\/b> (value string). Fields present for remote values: <b>valueblk<\/b> (fork block number of containing the value).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">Remote values are stored in an independent block in the attribute fork. Prior to v5, value blocks had no structure, but in v5 they acquired a header structure with the following fields:<\/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=\"31%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">attr3 remote block magic number, 0x5841524d (\u2019XARM\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>offset<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Byte offset of this data block within the overall attribute value.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>bytes<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Number of bytes stored in this block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>crc<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Checksum of the attribute block contents.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>uuid<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Filesystem UUID.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>owner<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Inode that owns this attribute value.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>bno<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Block offset of this block within the inode\u2019s attribute fork.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>lsn<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>Log serial number of the last time this block was logged.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>data<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>The attribute value data.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>bmapbt<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">Files with many extents in their data or attribute fork will have the extents described by the contents of a Btree for that fork, instead of being stored directly in the inode. Each bmap Btree starts with a root block contained within the inode. The other levels of the Btree are stored in filesystem blocks. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block contains the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">bmap Btree block magic number, 0x424d4150 (\u2019BMAP\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level of this block above the leaf level.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of records or keys in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of extent records. Each record contains <b>startoff<\/b>, <b>startblock<\/b>, <b>blockcount<\/b>, and <b>extentflag<\/b> (1 if the extent is unwritten).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of key records. These are the first key value of each block in the level below this one. Each record contains <b>startoff<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a filesystem block number to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>bnobt<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">There is one set of filesystem blocks forming the by-block-number allocation Btree for each allocation group. The root block of this Btree is designated by the <b>bnoroot<\/b> field in the corresponding AGF block. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block has the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">BNOBT block magic number, 0x41425442 (\u2019ABTB\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level number of this block, 0 is a leaf.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of data entries in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of freespace records. Each record contains <b>startblock<\/b> and <b>blockcount<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of key records. These are the first value of each block in the level below this one. Each record contains <b>startblock<\/b> and <b>blockcount<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a block number within the allocation group to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>cntbt<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">There is one set of filesystem blocks forming the by-block-count allocation Btree for each allocation group. The root block of this Btree is designated by the <b>cntroot<\/b> field in the corresponding AGF block. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block has the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">CNTBT block magic number, 0x41425443 (\u2019ABTC\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level number of this block, 0 is a leaf.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of data entries in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of freespace records. Each record contains <b>startblock<\/b> and <b>blockcount<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of key records. These are the first value of each block in the level below this one. Each record contains <b>blockcount<\/b> and <b>startblock<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a block number within the allocation group to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>data<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">User file blocks, and other blocks whose type is unknown, have this type for display purposes in <b>xfs_db<\/b>. The block data is displayed in hexadecimal format.<\/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=\"4%\">\n<p style=\"margin-top: 1em\"><b>dir<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\">A version 1 directory is organized as a Btree with the directory data embedded in the leaf blocks. The root of the Btree is found in block 0 of the file. The index (sort order) of the Btree is the hash value of the entry name. All the blocks contain a <b>blkinfo<\/b> structure at the beginning with the following fields:<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%; margin-top: 1em\"><b>forw<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">next sibling block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>back<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>previous sibling block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>magic<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>magic number for this block type.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">The non-leaf (node) blocks have the following fields:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p style=\"margin-top: 1em\"><b>hdr<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing a <b>blkinfo<\/b> structure <b>info<\/b> (magic number 0xfebe), the <b>count<\/b> of active entries, and the <b>level<\/b> of this block above the leaves.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>btree<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>array of entries containing <b>hashval<\/b> and <b>before<\/b> fields. The <b>before<\/b> value is a block number within the directory file to the child block, the <b>hashval<\/b> is the last hash value in that block.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">The leaf blocks have the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>hdr<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing a <b>blkinfo<\/b> structure <b>info<\/b> (magic number 0xfeeb), the <b>count<\/b> of active entries, <b>namebytes<\/b> (total name string bytes), <b>holes<\/b> flag (block needs compaction), and <b>freemap<\/b> (array of <b>base<\/b>, <b>size<\/b> entries for free regions).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>entries<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>array of structures containing <b>hashval<\/b>, <b>nameidx<\/b> (byte index into the block of the name string), and <b>namelen<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>namelist<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>array of structures containing <b>inumber<\/b> and <b>name<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>dir2<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">A version 2 directory has four kinds of blocks. Data blocks start at offset 0 in the file. There are two kinds of data blocks: single-block directories have the leaf information embedded at the end of the block, data blocks in multi-block directories do not. Node and leaf blocks start at offset 32GiB (with either a single leaf block or the root node block). Freespace blocks start at offset 64GiB. The node and leaf blocks form a Btree, with references to the data in the data blocks. The freespace blocks form an index of longest free spaces within the data blocks.<\/p>\n<p style=\"margin-left:26%; margin-top: 1em\">A single-block directory block contains the following fields:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p style=\"margin-top: 1em\"><b>bhdr<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing <b>magic<\/b> number 0x58443242 (\u2019XD2B\u2019) and an array <b>bestfree<\/b> of the longest 3 free spaces in the block (<b>offset<\/b>, <b>length<\/b>).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>bu<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>array of union structures. Each element is either an entry or a freespace. For entries, there are the following fields: <b>inumber<\/b>, <b>namelen<\/b>, <b>name<\/b>, and <b>tag<\/b>. For freespace, there are the following fields: <b>freetag<\/b> (0xffff), <b>length<\/b>, and <b>tag<\/b>. The <b>tag<\/b> value is the byte offset in the block of the start of the entry it is contained in.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>bleaf<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>array of leaf entries containing <b>hashval<\/b> and <b>address<\/b>. The <b>address<\/b> is a 64-bit word offset into the file.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"8%\">\n<p><b>btail<\/b><\/p>\n<\/td>\n<td width=\"11%\"><\/td>\n<td width=\"49%\">\n<p>tail structure containing the total <b>count<\/b> of leaf entries and <b>stale<\/b> count of unused leaf entries.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">A data block contains the following fields:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"6%\">\n<p style=\"margin-top: 1em\"><b>dhdr<\/b><\/p>\n<\/td>\n<td width=\"13%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing <b>magic<\/b> number 0x58443244 (\u2019XD2D\u2019) and an array <b>bestfree<\/b> of the longest 3 free spaces in the block (<b>offset<\/b>, <b>length<\/b>).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"6%\">\n<p><b>du<\/b><\/p>\n<\/td>\n<td width=\"13%\"><\/td>\n<td width=\"49%\">\n<p>array of union structures as for <b>bu<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">Leaf blocks have two possible forms. If the Btree consists of a single leaf then the freespace information is in the leaf block, otherwise it is in separate blocks and the root of the Btree is a node block. A leaf block contains the following fields:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"10%\">\n<p style=\"margin-top: 1em\"><b>lhdr<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing a <b>blkinfo<\/b> structure <b>info<\/b> (magic number 0xd2f1 for the single leaf case, 0xd2ff for the true Btree case), the total <b>count<\/b> of leaf entries, and <b>stale<\/b> count of unused leaf entries.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"10%\">\n<p><b>lents<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>leaf entries, as for <b>bleaf<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"10%\">\n<p><b>lbests<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>[single leaf only] array of values which represent the longest freespace in each data block in the directory.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"10%\">\n<p><b>ltail<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>[single leaf only] tail structure containing <b>bestcount<\/b> count of <b>lbests<\/b>.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">A node block is identical to that for types <b>attr<\/b> and <b>dir<\/b>.<\/p>\n<p style=\"margin-left:26%; margin-top: 1em\">A freespace block contains the following fields:<\/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=\"31%\">\n<p style=\"margin-top: 1em\"><b>fhdr<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">header containing <b>magic<\/b> number 0x58443246 (\u2019XD2F\u2019), <b>firstdb<\/b> first data block number covered by this freespace block, <b>nvalid<\/b> number of valid entries, and <b>nused<\/b> number of entries representing real data blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>fbests<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>array of values as for <b>lbests<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>dqblk<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">The quota information is stored in files referred to by the superblock <b>uquotino<\/b> and <b>pquotino<\/b> fields. Each filesystem block in a quota file contains a constant number of quota entries. The quota entry size is currently 136 bytes, so with a 4KiB filesystem block size there are 30 quota entries per block. The <b>dquot<\/b> command is used to locate these entries in the filesystem. The file entries are indexed by the user or project identifier to determine the block and offset. Each quota entry has the following fields:<\/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=\"41%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p style=\"margin-top: 1em\">magic number, 0x4451 (\u2019DQ\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>version<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>version number, currently 1.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>flags<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>flags, values include 0x01 for user quota, 0x02 for project quota.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>id<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>user or project identifier.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>blk_hardlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>absolute limit on blocks in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>blk_softlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>preferred limit on blocks in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>ino_hardlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>absolute limit on inodes in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>ino_softlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>preferred limit on inodes in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>bcount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>blocks actually in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>icount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>inodes actually in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>itimer<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>time when service will be refused if soft limit is violated for inodes.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>btimer<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>time when service will be refused if soft limit is violated for blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>iwarns<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>number of warnings issued about inode limit violations.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>bwarns<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>number of warnings issued about block limit violations.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>rtb_hardlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>absolute limit on realtime blocks in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>rtb_softlimit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>preferred limit on realtime blocks in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>rtbcount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>realtime blocks actually in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>rtbtimer<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>time when service will be refused if soft limit is violated for realtime blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>rtbwarns<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\">\n<p>number of warnings issued about realtime block limit violations.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p><b>inobt<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"45%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">There is one set of filesystem blocks forming the inode allocation Btree for each allocation group. The root block of this Btree is designated by the <b>root<\/b> field in the corresponding AGI block. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block has the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">INOBT block magic number, 0x49414254 (\u2019IABT\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level number of this block, 0 is a leaf.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of data entries in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of inode records. Each record contains <b>startino<\/b> allocation-group relative inode number, <b>freecount<\/b> count of free inodes in this chunk, and <b>free<\/b> bitmap, LSB corresponds to inode 0.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of key records. These are the first value of each block in the level below this one. Each record contains <b>startino<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a block number within the allocation group to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>inode<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">Inodes are allocated in &#8220;chunks&#8221; of 64 inodes each. Usually a chunk is multiple filesystem blocks, although there are cases with large filesystem blocks where a chunk is less than one block. The inode Btree (see <b>inobt<\/b> above) refers to the inode numbers per allocation group. The inode numbers directly reflect the location of the inode block on disk. Use the <b>inode<\/b> command to point <b>xfs_db<\/b> to a specific inode. Each inode contains four regions: <b>core<\/b>, <b>next_unlinked<\/b>, <b>u<\/b>, and <b>a<\/b>. <b>core<\/b> contains the fixed information. <b>next_unlinked<\/b> is separated from the core due to journaling considerations, see type <b>agi<\/b> field <b>unlinked<\/b>. <b>u<\/b> is a union structure that is different in size and format depending on the type and representation of the file data (&#8220;data fork&#8221;). <b>a<\/b> is an optional union structure to describe attribute data, that is different in size, format, and location depending on the presence and representation of attribute data, and the size of the <b>u<\/b> data (&#8220;attribute fork&#8221;). <b>xfs_db<\/b> automatically selects the proper union members based on information in the inode.<\/p>\n<p style=\"margin-left:26%; margin-top: 1em\">The following are fields in the inode core:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">inode magic number, 0x494e (\u2019IN\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>mode<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>mode and type of file, as described in <b>chmod<\/b>(2), <b>mknod<\/b>(2), and <b>stat<\/b>(2).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>version<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>inode version, 1 or 2.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>format<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>format of <b>u<\/b> union data (0: xfs_dev_t, 1: local file \u2212 in-inode directory or symlink, 2: extent list, 3: Btree root, 4: unique id [unused]).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>nlinkv1<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>number of links to the file in a version 1 inode.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>nlinkv2<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>number of links to the file in a version 2 inode.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>projid_lo<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>owner\u2019s project id (low word; version 2 inode only). <b>projid_hi<\/b> owner\u2019s project id (high word; version 2 inode only).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>uid<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>owner\u2019s user id.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>gid<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>owner\u2019s group id.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>atime<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>time last accessed (seconds and nanoseconds).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>mtime<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>time last modified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>ctime<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>time created or inode last modified.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>size<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>number of bytes in the file.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>nblocks<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>total number of blocks in the file including indirect and attribute.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>extsize<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>basic\/minimum extent size for the file.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>nextents<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>number of extents in the data fork.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>naextents<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>number of extents in the attribute fork.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>forkoff<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>attribute fork offset in the inode, in 64-bit words from the start of <b>u<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>aformat<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>format of <b>a<\/b> data (1: local attribute data, 2: extent list, 3: Btree root).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>dmevmask<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>DMAPI event mask.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>dmstate<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>DMAPI state information.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>newrtbm<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>file is the realtime bitmap and is &#8220;new&#8221; format.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>prealloc<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>file has preallocated data space after EOF.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>realtime<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>file data is in the realtime subvolume.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"14%\">\n<p><b>gen<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"49%\">\n<p>inode generation number.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">The following fields are in the <b>u<\/b> data fork union:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p style=\"margin-top: 1em\"><b>bmbt<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">bmap Btree root. This looks like a <b>bmapbtd<\/b> block with redundant information removed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>bmx<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>array of extent descriptors.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>dev<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>dev_t for the block or character device.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>sfdir<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>shortform (in-inode) version 1 directory. This consists of a <b>hdr<\/b> containing the <b>parent<\/b> inode number and a <b>count<\/b> of active entries in the directory, followed by an array <b>list<\/b> of <b>hdr.count<\/b> entries. Each such entry contains <b>inumber<\/b>, <b>namelen<\/b>, and <b>name<\/b> string.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>sfdir2<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>shortform (in-inode) version 2 directory. This consists of a <b>hdr<\/b> containing a <b>count<\/b> of active entries in the directory, an <b>i8count<\/b> of entries with inumbers that don\u2019t fit in a 32-bit value, and the <b>parent<\/b> inode number, followed by an array <b>list<\/b> of <b>hdr.count<\/b> entries. Each such entry contains <b>namelen<\/b>, a saved <b>offset<\/b> used when the directory is converted to a larger form, a <b>name<\/b> string, and the <b>inumber<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"11%\">\n<p><b>symlink<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"49%\">\n<p>symbolic link string value.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%;\">The following fields are in the <b>a<\/b> attribute fork union if it exists:<\/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=\"31%\">\n<p style=\"margin-top: 1em\"><b>bmbt<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">bmap Btree root, as above.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>bmx<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>array of extent descriptors.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>sfattr<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\">\n<p>shortform (in-inode) attribute values. This consists of a <b>hdr<\/b> containing a <b>totsize<\/b> (total size in bytes) and a <b>count<\/b> of active entries, followed by an array <b>list<\/b> of <b>hdr.count<\/b> entries. Each such entry contains <b>namelen<\/b>, <b>valuelen<\/b>, <b>root<\/b> flag, <b>name<\/b>, and <b>value<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p><b>log<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">Log blocks contain the journal entries for XFS. It\u2019s not useful to examine these with <b>xfs_db<\/b>, use <b>xfs_logprint<\/b>(8) instead.<\/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=\"12%\">\n<p style=\"margin-top: 1em\"><b>refcntbt<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\">There is one set of filesystem blocks forming the reference count Btree for each allocation group. The root block of this Btree is designated by the <b>refcntroot<\/b> field in the corresponding AGF block. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block has the following fields:<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%; margin-top: 1em\"><b>magic<\/b><\/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=\"34%\"><\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">REFC block magic number, 0x52334643 (\u2019R3FC\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level number of this block, 0 is a leaf.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of data entries in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of reference count records. Each record contains <b>startblock<\/b>, <b>blockcount<\/b>, and <b>refcount<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of key records. These are the first value of each block in the level below this one. Each record contains <b>startblock<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a block number within the allocation group to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rmapbt<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">There is one set of filesystem blocks forming the reverse mapping Btree for each allocation group. The root block of this Btree is designated by the <b>rmaproot<\/b> field in the corresponding AGF block. The blocks are linked to sibling left and right blocks at each level, as well as by pointers from parent to child blocks. Each block has the following fields:<\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>magic<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">RMAP block magic number, 0x524d4233 (\u2019RMB3\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>level<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>level number of this block, 0 is a leaf.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>numrecs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>number of data entries in the block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>leftsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>left (logically lower) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rightsib<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>right (logically higher) sibling block, 0 if none.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>recs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[leaf blocks only] array of reference count records. Each record contains <b>startblock<\/b>, <b>blockcount<\/b>, <b>owner<\/b>, <b>offset<\/b>, <b>attr_fork<\/b>, <b>bmbt_block<\/b>, and <b>unwritten<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>keys<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of double-key records. The first (&#8220;low&#8221;) key contains the first value of each block in the level below this one. The second (&#8220;high&#8221;) key contains the largest key that can be used to identify any record in the subtree. Each record contains <b>startblock<\/b>, <b>owner<\/b>, <b>offset<\/b>, <b>attr_fork<\/b>, and <b>bmbt_block<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>ptrs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\">\n<p>[non-leaf blocks only] array of child block pointers. Each pointer is a block number within the allocation group to the next level in the Btree.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p><b>rtbitmap<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">If the filesystem has a realtime subvolume, then the <b>rbmino<\/b> field in the superblock refers to a file that contains the realtime bitmap. Each bit in the bitmap file controls the allocation of a single realtime extent (set == free). The bitmap is processed in 32-bit words, the LSB of a word is used for the first extent controlled by that bitmap word. The <b>atime<\/b> field of the realtime bitmap inode contains a counter that is used to control where the next new realtime file will start.<\/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=\"14%\">\n<p style=\"margin-top: 1em\"><b>rtsummary<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\">If the filesystem has a realtime subvolume, then the <b>rsumino<\/b> field in the superblock refers to a file that contains the realtime summary data. The summary file contains a two-dimensional array of 16-bit values. Each value counts the number of free extent runs (consecutive free realtime extents) of a given range of sizes that starts in a given bitmap block. The size ranges are binary buckets (low size in the bucket is a power of 2). There are as many size ranges as are necessary given the size of the realtime subvolume. The first dimension is the size range, the second dimension is the starting bitmap block number (adjacent entries are for the same size, adjacent bitmap blocks).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p><b>sb<\/b><\/p>\n<\/td>\n<td width=\"1%\"><\/td>\n<td width=\"74%\">\n<p>There is one sb (superblock) structure per allocation group. It is the first disk block in the allocation group. Only the first one (block 0 of the filesystem) is actually used; the other blocks are redundant information for <b>xfs_repair<\/b>(8) to use if the first superblock is damaged. Fields defined:<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%; margin-top: 1em\"><b>magicnum<\/b><\/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=\"37%\"><\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p style=\"margin-top: 1em\">superblock magic number, 0x58465342 (\u2019XFSB\u2019).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>blocksize<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>filesystem block size in bytes.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>dblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of filesystem blocks present in the data subvolume.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of filesystem blocks present in the realtime subvolume.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rextents<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of realtime extents that <b>rblocks<\/b> contain.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>uuid<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>unique identifier of the filesystem.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>logstart<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>starting filesystem block number of the log (journal). If this value is 0 the log is &#8220;external&#8221;.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rootino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>root inode number.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rbmino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>realtime bitmap inode number.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rsumino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>realtime summary data inode number.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rextsize<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>realtime extent size in filesystem blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>agblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>size of an allocation group in filesystem blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>agcount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of allocation groups.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rbmblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of realtime bitmap blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>logblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of log blocks (filesystem blocks).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>versionnum<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>filesystem version information. This value is currently 1, 2, 3, or 4 in the low 4 bits. If the low bits are 4 then the other bits have additional meanings. 1 is the original value. 2 means that attributes were used. 3 means that version 2 inodes (large link counts) were used. 4 is the bitmask version of the version number. In this case, the other bits are used as flags (0x0010: attributes were used, 0x0020: version 2 inodes were used, 0x0040: quotas were used, 0x0080: inode cluster alignment is in force, 0x0100: data stripe alignment is in force, 0x0200: the <b>shared_vn<\/b> field is used, 0x1000: unwritten extent tracking is on, 0x2000: version 2 directories are in use).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>sectsize<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>sector size in bytes, currently always 512. This is the size of the superblock and the other header blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inodesize<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>inode size in bytes.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inopblock<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of inodes per filesystem block.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>fname<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>obsolete, filesystem name.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>fpack<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>obsolete, filesystem pack name.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>blocklog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>blocksize<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>sectlog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>sectsize<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inodelog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>inodesize<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inopblog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>inopblock<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>agblklog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>agblocks<\/b> (rounded up).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>rextslog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of <b>rextents<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inprogress<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p><b>mkfs.xfs<\/b>(8) or <b>xfs_copy<\/b>(8) aborted before completing this filesystem.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>imax_pct<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>maximum percentage of filesystem space used for inode blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>icount<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of allocated inodes.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>ifree<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of allocated inodes that are not in use.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>fdblocks<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of free data blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>frextents<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>number of free realtime extents.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>uquotino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>user quota inode number.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>pquotino<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>project quota inode number; this is currently unused.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>qflags<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>quota status flags (0x01: user quota accounting is on, 0x02: user quota limits are enforced, 0x04: quotacheck has been run on user quotas, 0x08: project quota accounting is on, 0x10: project quota limits are enforced, 0x20: quotacheck has been run on project quotas).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>flags<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>random flags. 0x01: only read-only mounts are allowed.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>shared_vn<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>shared version number (shared readonly filesystems).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>inoalignmt<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>inode chunk alignment in filesystem blocks.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>unit<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>stripe or RAID unit.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>width<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>stripe or RAID width.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>dirblklog<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\">\n<p>log2 of directory block size (filesystem blocks).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p><b>symlink<\/b><\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:26%; margin-top: 1em\">Symbolic link blocks are used only when the symbolic link value does not fit inside the inode. The block content is just the string value. Bytes past the logical end of the symbolic link value have arbitrary values.<\/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=\"6%\">\n<p style=\"margin-top: 1em\"><b>text<\/b><\/p>\n<\/td>\n<td width=\"9%\"><\/td>\n<td width=\"74%\">\n<p style=\"margin-top: 1em\">User file blocks, and other blocks whose type is unknown, have this type for display purposes in <b>xfs_db<\/b>. The block data is displayed in two columns: Hexadecimal format and printable ASCII chars.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DIAGNOSTICS <a name=\"DIAGNOSTICS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Many messages can come from the <b>check<\/b> (<b>blockget<\/b>) command. If the filesystem is completely corrupt, a core dump might be produced instead of the message<\/p>\n<p style=\"margin-left:22%;\"><i>device<\/i> <b>is not a valid filesystem<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the filesystem is very large (has many files) then <b>check<\/b> might run out of memory. In this case the message<\/p>\n<p style=\"margin-left:22%;\"><b>out of memory<\/b><\/p>\n<p style=\"margin-left:11%;\">is printed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following is a description of the most likely problems and the associated messages. Most of the diagnostics produced are only meaningful with an understanding of the structure of the filesystem. <b><br \/> agf_freeblks<\/b> <i>n<\/i><b>, counted<\/b> <i>m<\/i> <b>in ag<\/b> <i>a<\/i><\/p>\n<p style=\"margin-left:22%;\">The freeblocks count in the allocation group header for allocation group <i>a<\/i> doesn\u2019t match the number of blocks counted free.<\/p>\n<p style=\"margin-left:11%;\"><b>agf_longest<\/b> <i>n<\/i><b>, counted<\/b> <i>m<\/i> <b>in ag<\/b> <i>a<\/i><\/p>\n<p style=\"margin-left:22%;\">The longest free extent in the allocation group header for allocation group <i>a<\/i> doesn\u2019t match the longest free extent found in the allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>agi_count<\/b> <i>n<\/i><b>, counted<\/b> <i>m<\/i> <b>in ag<\/b> <i>a<\/i><\/p>\n<p style=\"margin-left:22%;\">The allocated inode count in the allocation group header for allocation group <i>a<\/i> doesn\u2019t match the number of inodes counted in the allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>agi_freecount<\/b> <i>n<\/i><b>, counted<\/b> <i>m<\/i> <b>in ag<\/b> <i>a<\/i><\/p>\n<p style=\"margin-left:22%;\">The free inode count in the allocation group header for allocation group <i>a<\/i> doesn\u2019t match the number of inodes counted free in the allocation group.<\/p>\n<p style=\"margin-left:11%;\"><b>block<\/b> <i>a\/b<\/i> <b>expected inum 0 got<\/b> <i>i<\/i><\/p>\n<p style=\"margin-left:22%;\">The block number is specified as a pair (allocation group number, block in the allocation group). The block is used multiple times (shared), between multiple inodes. This message usually follows a message of the next type.<\/p>\n<p style=\"margin-left:11%;\"><b>block<\/b> <i>a\/b<\/i> <b>expected type unknown got<\/b> <i>y<\/i><\/p>\n<p style=\"margin-left:22%;\">The block is used multiple times (shared).<\/p>\n<p style=\"margin-left:11%;\"><b>block<\/b> <i>a\/b<\/i> <b>type unknown not expected<\/b><\/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>xfs_admin<\/b>(8), <b>xfs_copy<\/b>(8), <b>xfs_logprint<\/b>(8), <b>xfs_metadump<\/b>(8), <b>xfs_ncheck<\/b>(8), <b>xfs_repair<\/b>(8), <b>mount<\/b>(8), <b>chmod<\/b>(2), <b>mknod<\/b>(2), <b>stat<\/b>(2), <b>xfs<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  xfs_db \u2212 debug an XFS filesystem <\/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,58],"class_list":["post-2704","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-xfs_db"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2704","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=2704"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2704\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}