public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Pascal GREGIS <pgs@synerway.com>
To: linux-xfs@oss.sgi.com
Subject: currupted files filling with zeros after power failure
Date: Mon, 24 Jul 2006 18:03:17 +0200	[thread overview]
Message-ID: <20060724160317.GA787@venus.synerway.com> (raw)

Hello everyone,

I'm  working on power failures on some test machines in my company.
I volunteerly switch off my machine by pressing the power button and restart my machine to see how it behaves.

The problem I'm facing is that about once for two crashes the last file (or at least the last file) i which I wrote becomes corrupted and filled with \0 characters.

I didn't think XFS could be subject to this type of problem, however here isn't really the reason of my mail.

What I would like to know is what can I do to resolve this problem? Is XFS able to recover my file with its right content, at least a consistent content, not only \0 characters?
I made some tries with xfs_repair and it didn't repair it, once it put me some inodes in lost+found but id didn't repair my corrupted file.
Maybe xfs_db could help, I don't know.

I'm running a 2.6.11.11 kernel iwth xfsprogs-2.7.3 and xfsdump-2.2.30.
Maybe is a bug in that kernel.

Do you guys know if this problem has often been encountered or not,a dn if there is a way to proceed?

Thank you

Pascal

             reply	other threads:[~2006-07-24 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 16:03 Pascal GREGIS [this message]
2006-07-24 17:15 ` currupted files filling with zeros after power failure 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=20060724160317.GA787@venus.synerway.com \
    --to=pgs@synerway.com \
    --cc=linux-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