public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason White <jasonjgw@internode.on.net>
To: xfs@oss.sgi.com
Subject: Re: FS corruption and repair problem
Date: Tue, 17 Oct 2006 15:35:14 +1000	[thread overview]
Message-ID: <20061017053514.GA5095@jdc> (raw)
In-Reply-To: <45338FEA.3060709@sandeen.net>

On Mon, Oct 16, 2006 at 08:58:02AM -0500, Eric Sandeen wrote:
 
> The original reason for the shutdown would probably be interesting here, that's 
> missing information about the first problem you encountered.

Unfortunately, yes. The first I knew about it came in the form of i/o errors
and processes terminating with error 990.
> 
> But, from the repair output, it looks like corrupted directory data on disk, 
> hard to say when/why it occurred.  Newer repair is always a good idea, but if 
> the directory is badly corrupted then there's not a lot of magic to be done.

The newer repair ran to completion and corrected more errors. 

If the corruption recurs, the next step will be to reinstall everything.
Fortunately, I have multiple backups of important files, though one of them
was to an XFS file system created under kernel 2.6.17, which had minor
directory corruption that was fixed by xfs_repair. After mounting that drive
under 2.6.18, I created an entirely new backup and compared it with the old;
the only files which had changed were those which I knew to have been updated
since the previous backup.

After unmounting the backup fs I ran xfs_check, which reported no problems.
Thus I suspect that in the case of the backup drive, the FS corruption was due
to the 2.6.17 bug, since copying gigabytes of files to it failed to reproduce
the problem, and all seems fine under 2.6.18.

I am still pleased with XFS as I have been using it since 2001, and the only
problems have been due to bugs that were quickly fixed by the developers, and
most of these happened prior to the integration of XFS into the mainline.

  reply	other threads:[~2006-10-17  5:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16  8:25 FS corruption and repair problem Jason White
2006-10-16  9:52 ` martin f krafft
2006-10-16 10:10 ` Justin Piszcz
2006-10-16 13:58 ` Eric Sandeen
2006-10-17  5:35   ` Jason White [this message]
2006-10-17  7:37     ` Martin Steigerwald
2006-10-17 13:18       ` Martin Steigerwald

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=20061017053514.GA5095@jdc \
    --to=jasonjgw@internode.on.net \
    --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