[BACK]Return to xfs_repair.html CVS log [TXT][DIR] Up to [Development] / xfs-website.orig / manpages

File: [Development] / xfs-website.orig / manpages / xfs_repair.html (download) (as text)

Revision 1.2, Tue Apr 25 00:26:32 2000 UTC (17 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.1: +1 -1 lines

Make the body white

<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body bgcolor="white">
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
<a href="#EXIT STATUS">EXIT STATUS</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator     : groff version 1.15  -->
<!-- CreationDate: Mon Apr 24 10:40:34 2000
 -->
<!-- Total number of pages: 4 -->
<!-- Page: 1 -->
<!-- left  margin: 100 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p><font size=3>xfs_repair - repair an XFS filesystem</p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p><font size=3><B>xfs_repair</B> <font size=3>[ <font size=3><B>-n</B> <font size=3>] [ <font size=3><B>-o</B> <font size=3>subopt[=value] ] xfs_special</p>
<p><font size=3><B>xfs_repair -f</B> <font size=3>[ <font size=3><B>-n</B> <font size=3>] [ <font size=3><B>-o</B> <font size=3>subopt[=value] ] ... file</p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p><font size=3><I>xfs_repair</I> <font size=3>repairs corrupt or damaged XFS filesystems (see <font size=3><I>xfs</I><font size=3>(4)). <font size=3><I>xfs_repair</I> <font size=3>does not work on EFS filesys- tems (see <font size=3><I>fsck</I><font size=3>(1M)). The filesystem is specified using the <font size=3><I>xfs_special</I> <font size=3>argument which should be the device name of the disk partition or volume containing the filesystem. If given the name of a block device, <font size=3><I>xfs_repair</I> <font size=3>will attempt to find the raw device associated with the specified block device and will use the raw device instead.</p>
<p><font size=3>Regardless, the filesystem to be repaired must be unmounted, otherwise, the resulting filesystem may be inconsis- tent or corrupt.</p>
<p><font size=3>The options to <font size=3><I>xfs_repair</I> <font size=3>are:</p>

<table width="100%"  rules="none"  frame="none"  cols="5">
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3><B>-f</p>
</B></td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Specifies that the special device is actually a file (see the <font size=3><I>mkfs_xfs</I> <font size=3><B>-d</B> <font size=3><I>file</I> <font size=3>option). This might happen if an image copy of a filesystem has been copied or written into an ordinary file.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3><B>-n</p>
</B></td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>No modify mode. Specifies that <font size=3><I>xfs_repair</I> <font size=3>should not modify the filesystem but should only scan the filesystem and indicate what repairs would have been made.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3><B>-o</p>
</B></td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Override what the program might conclude about the filesystem if left to its own devices.</p>
<p><font size=3>The <font size=3><B>assume_xfs</B> <font size=3>suboption specifies that the filesystem is an XFS filesystem. Normally, if <font size=3><I>xfs_repair</I> <font size=3>cannot find an XFS superblock, it checks to see if the filesystem is an EFS filesystem before it tries to regenerate the XFS superblock. If the <font size=3><B>assume_xfs</B> <font size=3>option is in effect, <font size=3><I>xfs_repair</I> <font size=3>will assume that the filesystem is an XFS filesystem and will ignore an EFS superblock if one is found.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
<p><font size=3><B>Checks Performed</p>
</B></td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Inconsistencies corrected include the following:</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>1.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Inode and inode blockmap (addressing) checks: bad magic number in inode, bad magic numbers in inode blockmap blocks, extents out of order, incorrect number of records in inode blockmap blocks, blocks claimed that are not in a legal data area of the filesystem, blocks that are claimed by more than one inode.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>2.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Inode allocation map checks: bad magic number in inode map blocks, inode state as indi- cated by map (free or in-use) inconsistent with state indicated by the inode, inodes refer- enced by the filesystem that do not appear in the inode allocation map, inode allocation map referencing blocks that do not appear to contain inodes.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>3.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Size checks: number of blocks claimed by inode inconsistent with inode size, directory size not block aligned, inode size not consistent with inode format.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>4.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Directory checks: bad magic numbers in directory blocks, incorrect number of entries in a directory block, bad freespace information in a directory leaf block, entry pointing to an unallocated (free) or out of range inode, overlapping entries, missing or incorrect dot and dotdot entries, entries out of hashvalue order, incorrect internal directory pointers, direc- tory type not consistent with inode format and size.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>5.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Pathname checks: files or directories not referenced by a pathname starting from the filesystem root, illegal pathname components.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>6.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Link count checks: link counts that do not agree with the number of directory references to the inode.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>7.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Freemap checks: blocks claimed free by the freemap but also claimed by an inode, blocks unclaimed by any inode but not appearing in the freemap.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.6154%">
<p><font size=3>8.</p>
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="17.0769%">
</td>
<td valign="top" align="left"  width="1.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Super Block checks: total free block and/or free i-node count incorrect, filesystem geome-<br>
try inconsistent, secondary and primary superblocks contradictory.</p>
</td>
</tr>
</table>
<p><font size=3>Orphaned files and directories (allocated, in-use but unreferenced) are reconnected by placing them in the <font size=3><I>lost+found</I> <font size=3>directory. The name assigned is the inode number.</p>
<p><span style=" text-indent: 0.1800in;"></span><font size=3><B>Disk Errors<br>
<span style=" text-indent: 1.3000in;"></span></B><I>xfs_repair</I> <font size=3>aborts on most disk I/O errors. Therefore, if you are trying to repair a filesystem<br>
<span style=" text-indent: 1.3000in;"></span>that was damaged due to a disk drive failure, steps should be taken to ensure that all blocks<br>
</p>

<!-- Page: 2  -->
<!-- left  margin: 100 -->
<!-- right margin: 750 -->

<table width="100%"  rules="none"  frame="none"  cols="4">
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="9.8462%">
</td>
<td valign="top" align="left"  width="7.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>in the filesystem are readable and writeable before attempting to use <font size=3><I>xfs_repair</I> <font size=3>to repair the filesystem. Possible methods include using <font size=3><I>dd</I><font size=3>(1M) to copy the data onto a good disk or <font size=3><I>fx</I><font size=3>(1M) to remap bad blocks if the block numbers are known. <font size=3><I>fx</I><font size=3>(1M), if used, should be used with extreme caution.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="9.8462%">
<p><font size=3><B>lost+found</p>
</B></td>
<td valign="top" align="left"  width="7.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="9.8462%">
</td>
<td valign="top" align="left"  width="7.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>The directory <font size=3><I>lost+found</I> <font size=3>does not have to already exist in the filesystem being repaired. If the directory does not exist, it is automatically created. If the <font size=3><I>lost+found</I> <font size=3>directory already exists, the <font size=3><I>lost+found</I> <font size=3>directory is deleted and recreated every time <font size=3><I>xfs_repair</I> <font size=3>runs. This ensures that there are no name conflicts in <font size=3><I>lost+found</I><font size=3>. However, if you rename a file in <font size=3><I>lost+found</I> <font size=3>and leave it there, if <font size=3><I>xfs_repair</I> <font size=3>is run again, that file is renamed back to its inode number.</p>
</td>
</tr>
</table>
<p><font size=3><B>Corrupted Superblocks</p>
</B>
<table width="100%"  rules="none"  frame="none"  cols="4">
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="6.6154%">
</td>
<td valign="top" align="left"  width="10.6154%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>XFS has both primary and secondary superblocks. <font size=3><I>xfs_repair</I> <font size=3>uses information in the pri- mary superblock to automatically find and validate the primary superblock against the sec- ondary superblocks before proceeding. Should the primary be too corrupted to be useful in locating the secondary superblocks, the program scans the filesystem until it finds and vali- dates some secondary superblocks. At that point, it generates a primary superblock.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="6.6154%">
<p><font size=3><B>Quotas</p>
</B></td>
<td valign="top" align="left"  width="10.6154%">
</td>
<td valign="top" align="left"  width="80.0000%">
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="2.7692%">
</td>
<td valign="top" align="left"  width="6.6154%">
</td>
<td valign="top" align="left"  width="10.6154%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>If quotas are in use, it is possible that <font size=3><I>xfs_repair</I> <font size=3>will clear some or all of the filesystem quota information. If so, the program issues a warning just before it terminates. If all quota information is lost, quotas are disabled and the program issues a warning to that effect.</p>
</td>
</tr>
</table>
<p><font size=3>Note that <font size=3><I>xfs_repair</I> <font size=3>does not check the validity of quota limits. It is recommended that you check the quota limit information manually after <font size=3><I>xfs_repair</I><font size=3>. Also, space usage information is automatically regenerated the next time the filesystem is mounted with quotas turned on, so the next quota mount of the filesystem may take some time.</p>
<a name="DIAGNOSTICS"></a><h2>DIAGNOSTICS</h2><p><font size=3><I>xfs_repair</I> <font size=3>issues informative messages as it proceeds indicating what it has found that is abnormal or any correc- tive action that it has taken. Most of the messages are completely understandable only to those who are knowl- edgeable about the structure of the filesystem. Some of the more common messages are explained here. Note that the language of the messages is slightly different if <font size=3><I>xfs_repair</I> <font size=3>is run in no-modify mode because the program is not changing anything on disk. No-modify mode indicates what it would do to repair the filesystem if run without the no-modify flag.</p>
<p><font size=3>disconnected inode <font size=3><B>xxxx</B><font size=3>, moving to <font size=3><I>lost+found</p>
</I><p><span style=" text-indent: 1.3000in;"></span><font size=3>An inode numbered <font size=3><B>xxxx</B> <font size=3>was not connected to the filesystem directory tree and was<br>
<span style=" text-indent: 1.3000in;"></span>reconnected to the <font size=3><I>lost+found</I> <font size=3>directory. The inode is assigned the name of its inode num-<br>
<span style=" text-indent: 1.3000in;"></span>ber (i-number). If a <font size=3><I>lost+found</I> <font size=3>directory does not exist, it is automatically created.</p>
<p><font size=3>disconnected dir inode <font size=3><B>xxxx</B><font size=3>, moving to <font size=3><I>lost+found</p>
</I><p><span style=" text-indent: 1.3000in;"></span><font size=3>As above only the inode is a directory inode. If a directory inode is attached to <font size=3><I>lost+found</I><font size=3>,<br>
<span style=" text-indent: 1.3000in;"></span>all of its children (if any) stay attached to the directory and therefore get automatically<br>
<span style=" text-indent: 1.3000in;"></span>reconnected when the directory is reconnected.</p>
<p><font size=3>imap claims in-use inode <font size=3><B>xxxx</B> <font size=3>is free, correcting imap</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>The inode allocation map thinks that inode <font size=3><B>xxxx</B> <font size=3>is free whereas examination of the inode<br>
<span style=" text-indent: 1.3000in;"></span>indicates that the inode may be in use (although it may be disconnected). The program<br>
<span style=" text-indent: 1.3000in;"></span>updates the inode allocation map.</p>
<p><font size=3>imap claims free inode <font size=3><B>xxxx</B> <font size=3>is in use, correcting imap</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>The inode allocation map thinks that inode <font size=3><B>xxxx</B> <font size=3>is in use whereas examination of the inode<br>
<span style=" text-indent: 1.3000in;"></span>indicates that the inode is not in use and therefore is free. The program updates the inode<br>
<span style=" text-indent: 1.3000in;"></span>allocation map.</p>
<p><font size=3>resetting inode <font size=3><B>xxxx</B> <font size=3>nlinks from <font size=3><B>x</B> <font size=3>to <font size=3><B>y</p>
</B><p><span style=" text-indent: 1.3000in;"></span><font size=3>The program detected a mismatch between the number of valid directory entries referenc-<br>
<span style=" text-indent: 1.3000in;"></span>ing inode <font size=3><B>xxxx</B> <font size=3>and the number of references recorded in the inode and corrected the the<br>
<span style=" text-indent: 1.3000in;"></span>number in the inode.</p>
<p><font size=3><B>fork-type</B> <font size=3>fork in ino <font size=3><B>xxxx</B> <font size=3>claims used block <font size=3><B>yyyy</p>
</B><p><span style=" text-indent: 1.3000in;"></span><font size=3>Inode <font size=3><B>xxxx</B> <font size=3>claims a block <font size=3><B>yyyy</B> <font size=3>that is used (claimed) by either another inode or the filesys-<br>
<span style=" text-indent: 1.3000in;"></span>tem itself for metadata storage. The <font size=3><B>fork-type</B> <font size=3>is either <font size=3><B>data</B> <font size=3>or <font size=3><B>attr</B> <font size=3>indicating whether the<br>
<span style=" text-indent: 1.3000in;"></span>problem lies in the portion of the inode that tracks regular data or the portion of the inode<br>
<span style=" text-indent: 1.3000in;"></span>that stores XFS attributes. If the inode is a real-time (rt) inode, the message says so. Any<br>
</p>

<!-- Page: 3  -->
<!-- left  margin: 100 -->
<!-- right margin: 750 -->

<table width="100%"  rules="none"  frame="none"  cols="2">
<tr valign="top" align="left">
<td valign="top" align="left"  width="20.0000%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>inode that claims blocks used by the filesystem is deleted. If two or more inodes claim the<br>
same block, they are both deleted.</p>
</td>
</tr>
</table>
<p><font size=3><B>fork-type</B> <font size=3>fork in ino <font size=3><B>xxxx</B> <font size=3>claims dup extent ...</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>Inode <font size=3><B>xxxx</B> <font size=3>claims a block in an extent known to be claimed more than once. The offset in<br>
<span style=" text-indent: 1.3000in;"></span>the inode, start and length of the extent is given. The message is slightly different if the<br>
<span style=" text-indent: 1.3000in;"></span>inode is a real-time (rt) inode and the extent is therefore a real-time (rt) extent.</p>
<p><font size=3>inode <font size=3><B>xxxx</B> <font size=3>- bad extent ...</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>An extent record in the blockmap of inode <font size=3><B>xxxx</B> <font size=3>claims blocks that are out of the legal range<br>
<span style=" text-indent: 1.3000in;"></span>of the filesystem. The message supplies the start, end, and file offset of the extent. The<br>
<span style=" text-indent: 1.3000in;"></span>message is slightly different if the extent is a real-time (rt) exent.</p>
<p><font size=3>bad <font size=3><B>fork-type</B> <font size=3>fork in inode <font size=3><B>xxxx</p>
</B>
<table width="100%"  rules="none"  frame="none"  cols="3">
<tr valign="top" align="left">
<td valign="top" align="left"  width="16.6154%">
</td>
<td valign="top" align="left"  width="3.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>There was something structurally wrong or inconsistent with the data structures that map offsets to filesystem blocks.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="16.6154%">
<p><font size=3>cleared inode <font size=3><B>xxxx</p>
</B></td>
<td valign="top" align="left"  width="3.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="16.6154%">
</td>
<td valign="top" align="left"  width="3.3846%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>There was something wrong with the inode that was uncorrectable so the program freed the inode. This usually happens because the inode claims blocks that are used by some- thing else or the inode itself is badly corrupted. Typically, this message is preceded by one or more messages indicating why the inode needed to be cleared.</p>
</td>
</tr>
</table>
<p><font size=3>bad attribute fork in inode <font size=3><B>xxxx</B><font size=3>, clearing attr fork</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>There was something wrong with the portion of the inode that stores XFS attributes (the<br>
<span style=" text-indent: 1.3000in;"></span>attribute fork) so the program reset the attribute fork. As a result of this, all attributes on<br>
<span style=" text-indent: 1.3000in;"></span>that inode are lost.</p>
<p><font size=3>correcting nextents for inode <font size=3><B>xxxx</B><font size=3>, was <font size=3><B>x</B> <font size=3>- counted <font size=3><B>y</p>
</B><p><span style=" text-indent: 1.3000in;"></span><font size=3>The program found that the number of extents used to store the data in the inode is wrong<br>
<span style=" text-indent: 1.3000in;"></span>and corrected the number. The message refers to nextents if the count is wrong on the<br>
<span style=" text-indent: 1.3000in;"></span>number of extents used to store attribute information.</p>
<p><font size=3>entry <font size=3><B>"name"</B> <font size=3>in dir <font size=3><B>xxxx</B> <font size=3>not consistent with .. value (<font size=3><B>yyyy</B><font size=3>) in dir ino <font size=3><B>xxxx</B><font size=3>, junking entry <font size=3><B>"name"</B> <font size=3>in directory inode <font size=3><B>xxxx</p>
</B><p><span style=" text-indent: 1.3000in;"></span><font size=3>The entry <font size=3><B>"name"</B> <font size=3>in directory inode <font size=3><B>xxxx</B> <font size=3>references a directory inode <font size=3><B>yyyy</B><font size=3>. However,<br>
<span style=" text-indent: 1.3000in;"></span>the .. entry in directory <font size=3><B>yyyy</B> <font size=3>does not point back to directory <font size=3><B>xxxx</B><font size=3>, so the program deletes<br>
<span style=" text-indent: 1.3000in;"></span>the entry <font size=3><B>"name"</B> <font size=3>in directory inode <font size=3><B>xxxx</B><font size=3>. If the directory inode <font size=3><B>yyyy</B> <font size=3>winds up becoming a<br>
<span style=" text-indent: 1.3000in;"></span>disconnected inode as a result of this, it is moved to <font size=3><I>lost+found</I> <font size=3>later.</p>
<p><font size=3>entry <font size=3><B>"name"</B> <font size=3>in dir <font size=3><B>xxxx</B> <font size=3>references already connected dir ino <font size=3><B>yyyy</B><font size=3>, junking entry <font size=3><B>"name"</B> <font size=3>in directory inode <font size=3><B>xxxx</p>
</B><p><span style=" text-indent: 1.3000in;"></span><font size=3>The entry <font size=3><B>"name"</B> <font size=3>in directory inode <font size=3><B>xxxx</B> <font size=3>points to a directory inode <font size=3><B>yyyy</B> <font size=3>that is known to<br>
<span style=" text-indent: 1.3000in;"></span>be a child of another directory. Therefore, the entry is invalid and is deleted. This message<br>
<span style=" text-indent: 1.3000in;"></span>refers to an entry in a small directory. If this were a large directory, the last phrase would<br>
<span style=" text-indent: 1.3000in;"></span>read "will clear entry".</p>
<p><font size=3>entry references free inode <font size=3><B>xxxx</B> <font size=3>in directory <font size=3><B>yyyy</B><font size=3>, will clear entry</p>
<p><span style=" text-indent: 1.3000in;"></span><font size=3>An entry in directory inode <font size=3><B>yyyy</B> <font size=3>references an inode <font size=3><B>xxxx</B> <font size=3>that is known to be free. The<br>
<span style=" text-indent: 1.3000in;"></span>entry is therefore invalid and is deleted. This message refers to a large directory. If the<br>
<span style=" text-indent: 1.3000in;"></span>directory were small, the message would read "junking entry ...".</p>
<a name="EXIT STATUS"></a><h2>EXIT STATUS</h2><p><font size=3><I>xfs_repair -n</I> <font size=3>(no modify node) will return a status of 1 if filesystem corruption was detected and 0 if no filesystem corruption was detected. <font size=3><I>xfs_repair</I> <font size=3>run without the -n option will always return a status code of 0.</p>
<a name="BUGS"></a><h2>BUGS</h2><p><font size=3><I>xfs_repair</I> <font size=3>does not do a thorough job on XFS extended attributes. The structure of the attribute fork will be con- sistent, but only the contents of attribute forks that will fit into an inode are checked. This limitation will be fixed in the future.</p>
<p><font size=3>The no-modify mode (<font size=3><B>-n</B> <font size=3>option) is not completely accurate. It does not catch inconsistencies in the freespace and inode maps, particularly lost blocks or subtly corrupted maps (trees).</p>
<p><font size=3>The no-modify mode can generate repeated warnings about the same problems because it cannot fix the problems as they are encountered.<br>
</p>

<!-- Page: 4  -->
<!-- left  margin: 100 -->
<!-- right margin: 476 -->
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p><font size=3>dd(1M), fx(1M), mkfs_xfs(1M), xfs_check(1M), xfs(4), xlv(7M).<br>
</p>
</body>
</html>