public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <ajones@apparatus.net>
To: Barry Naujok <bnaujok@melbourne.sgi.com>, xfs@oss.sgi.com
Subject: Re: RE: xfs_repair leaves things un-repaired.
Date: Tue, 30 Jan 2007 08:45:51 -0500	[thread overview]
Message-ID: <45BF4C0F.8040004@apparatus.net> (raw)
In-Reply-To: <200701300010.LAA00558@larry.melbourne.sgi.com>

Barry Naujok wrote:

>Hi Andrew,
>
>The xfs_repair output is valid. All the inodes that are reporting errors
>are orphaned inodes that were moved into lost+found. At the start of
>phase 4, the lost+found directory is deleted which causes all the inodes
>in lost+found to be re-orphaned. The current solution to this problem is
>to rename lost+found after an xfs_repair run and then unmount and try
>xfs_repair again.
>
>Regarding the shutdown, that is not normal and I personally don't know
>what the problem is from the trace. If it's a corrupt lost+found that
>xfs_repair is generating (I gather you are rm'ing lost+found), the
>second xfs_repair run after a rename should identify the problem with
>the directory. You can also try running xfs_check on the device as it
>may pick up something xfs_repair is missing.
>
>Regards,
>Barry.
>  
>
Thanks a lot for the clear explanation.   I still don't know why it 
bombs out and shuts down the filesystem when the corrupt directories are 
manipulated, but I don't particularly care, in this case.  Moving 
lost+found and re-running xfs_repair has worked out the problem. I can 
now manipulate the contents of lost+found safely.

      reply	other threads:[~2007-01-30 13:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 23:41 xfs_repair leaves things un-repaired Andrew Jones
2007-01-30  0:14 ` Barry Naujok
2007-01-30 13:45   ` Andrew Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45BF4C0F.8040004@apparatus.net \
    --to=ajones@apparatus.net \
    --cc=bnaujok@melbourne.sgi.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox