linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ric Wheeler <rwheeler@redhat.com>
To: Andrew Dunn <andrew.g.dunn@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID, ext4, barriers
Date: Mon, 23 Nov 2009 11:29:59 -0500	[thread overview]
Message-ID: <4B0AB887.3040801@redhat.com> (raw)
In-Reply-To: <4AF6F975.8030903@gmail.com>

On 11/08/2009 12:01 PM, Andrew Dunn wrote:
> I noticed this in my dmesg:
>
> [ 7089.116953] JBD: barrier-based sync failed on md0:8 - disabling barriers
> [ 9296.850098] JBD: barrier-based sync failed on md1:8 - disabling barriers
>
> I was wondering if this is a problem. I saw some links where people were
> listing this as a bug report for ext[2,3,4] partitions. I don't know if
> it will be a problem for me, any experience?
>
>    

Hi Andrew,

If you are worried about losing power on this RAID set, you need to make 
sure that the write cache on the individual drives is disabled. Without 
barriers, you can bet that the file system will lose data after a power hit.

Note that not all MD raid levels support barriers, although I think that 
Neil posted some patches that tried to close that gap,

Ric


      reply	other threads:[~2009-11-23 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 17:01 RAID, ext4, barriers Andrew Dunn
2009-11-23 16:29 ` Ric Wheeler [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=4B0AB887.3040801@redhat.com \
    --to=rwheeler@redhat.com \
    --cc=andrew.g.dunn@gmail.com \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).