Re: RAID, ext4, barriers
From: Ric Wheeler <hidden>
Date: 2009-11-23 16:29:59
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