From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (dhcp-100-19-150.bos.redhat.com [10.16.19.150]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2SIYdCt028420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 Mar 2011 14:34:40 -0400 Date: Mon, 28 Mar 2011 14:34:39 -0400 From: Mike Snitzer Message-ID: <20110328183439.GA27675@redhat.com> References: <4D8D6EAF.8050403@cox.net> <4D8D78D5.7050701@cox.net> <20110326203022.GA11173@redhat.com> <4D90C374.9080106@cfl.rr.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [linux-lvm] Powerfailure and snapshot consistency Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: LVM general discussion and development On Mon, Mar 28 2011 at 1:24pm -0400, Stuart D. Gathman wrote: > On Mon, 28 Mar 2011, Phillip Susi wrote: > > >On 3/27/2011 5:55 PM, Stuart D. Gathman wrote: > >>Don't need help, just trying to understand the event. So from what you > >>said, the problem probably stems from the RAID1 resync, which could > >>make one PV "older" than the other. > > > >The data is written to the primary mirror first, so this can't happen. > >Proper use of barriers will prevent this whole scenario, so my guess is > >that you are using ext3 ( which defaults to nobarrier ) or explicitly > >mounting ext4 with nobarrier. > > Ah, thank you! Yes, I am using ext3 with EL5.5 defaults, and will now learn > about the barrier option. Seems like a good thing to turn on when "replace > battery" comes up on the ups. RHEL5.x's DM doesn't support barriers (nor does MD afaik).