public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Nielsen <a.nielsen@shikadi.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: LKML Mailinglist <linux-kernel@vger.kernel.org>
Subject: Re: XFS internal error xfs_da_do_buf(1) at line 2015 of file fs/xfs/xfs_da_btree.c
Date: Sun, 04 Jan 2009 19:03:23 +1000	[thread overview]
Message-ID: <49607B5B.3070707@shikadi.net> (raw)
In-Reply-To: <20090104074659.GA16775@infradead.org>

> This is a typical result of a power loss scenario with write caches
> enabled and without barriers.  Given that md can't pass through barriers
> did you disable the write caches on your disk?

No, I didn't realise I had to do that...in fact I didn't even realise SATA 
disks *had* write caches, I thought the cache was for reading only...

> Run xfs_repair over it to fix up the directory, and make sure to
> configure your disks properly so that it doesn't happen again..

Will do, thanks for the advice!  Is there any standard way to disable write 
caching on a SATA disk?  hdparm -W seems to do the trick, but then I can't run 
that until the system is up and running, leaving a small window of opportunity 
for something to go wrong.

Thanks again,
Adam.


  reply	other threads:[~2009-01-04  9:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-04  1:16 XFS internal error xfs_da_do_buf(1) at line 2015 of file fs/xfs/xfs_da_btree.c Adam Nielsen
2009-01-04  7:46 ` Christoph Hellwig
2009-01-04  9:03   ` Adam Nielsen [this message]
2009-01-04  9:23     ` Christoph Hellwig
2009-01-04 11:44       ` Alan Cox
2009-01-04 15:34         ` Christoph Hellwig
2009-01-04 15:50           ` Andi Kleen
2009-01-05  5:12         ` markus reichelt

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=49607B5B.3070707@shikadi.net \
    --to=a.nielsen@shikadi.net \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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