From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Rice Subject: Re: XFS corruption during power-blackout Date: Wed, 29 Jun 2005 09:38:48 -0700 Message-ID: <42C2CE98.3020504@tippett.com> References: <200506290453.HAA14576@raad.intranet> Reply-To: xian@tippett.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "'Nathan Scott'" , linux-xfs@oss.sgi.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, reiserfs-list@namesys.com Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: Al Boldi In-Reply-To: <200506290453.HAA14576@raad.intranet> List-Id: linux-fsdevel.vger.kernel.org Al Boldi wrote: >Hi Nathan, >You wrote: { >On Tue, Jun 28, 2005 at 12:08:05PM +0300, Al Boldi wrote: > > >>True now, not so around 2.4.20 when XFS was rock-solid. I think they >>tried to improve on performance and broke something. I wish they would >>fix that because it forced me back to ext3, as in consistency over >>performance any time. >> >> > >Can you provide any details... >} > >Specifically, in 2.4.20 I did an acid test: >Spawn 10 cp -a on some big dir like /usr. >Let it run for a few seconds, then pull the plug. >Don't reset-button, reset is different then pulling the plug. >Don't poweroff-button, poweroff is different then pulling the plug. >On reboot diff the dirs spawned. > >What I found were 4 things in the dest dir: >1. Missing Dirs,Files. That's OK. >2. Files of size 0. That's acceptable. >3. Corrupted Files. That's unacceptable. >4. Corrupted Files with original fingerprint. That's ABSOLUTELY >unacceptable. > >Ext3 performed best with minimal files of size 0. >XFS was second with more files of size 0. >Reiser,JFS was worst with corruptions. > >When XFS was added into the vanilla-Kernel it caused corruptions like Reiser >and JFS, which forced me back to Ext3. > > > > > Pardon me if I haven't seen the whole thread. Do you have hard drive write cache turned off or, if it's a raid card, a battery backup on the write cache? That makes a big difference when operators begin doing things like pulling plugs and hitting reset. Again, no offense, just one of those "have you taken it out of the box, plugged it in and turned it on" kind of questions.