From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756095AbZHZAMQ (ORCPT ); Tue, 25 Aug 2009 20:12:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751441AbZHZAMP (ORCPT ); Tue, 25 Aug 2009 20:12:15 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42510 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873AbZHZAMN (ORCPT ); Tue, 25 Aug 2009 20:12:13 -0400 Date: Wed, 26 Aug 2009 02:12:06 +0200 From: Pavel Machek To: david@lang.hm Cc: Theodore Tso , Ric Wheeler , Florian Weimer , Goswin von Brederlow , Rob Landley , kernel list , Andrew Morton , mtk.manpages@gmail.com, rdunlap@xenotime.net, linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, corbet@lwn.net Subject: Re: [patch] document flash/RAID dangers Message-ID: <20090826001206.GL4300@elf.ucw.cz> References: <20090824230036.GK29763@elf.ucw.cz> <20090825000842.GM17684@mit.edu> <20090825094244.GC15563@elf.ucw.cz> <20090825161110.GP17684@mit.edu> <20090825222112.GB4300@elf.ucw.cz> <20090825224004.GD4300@elf.ucw.cz> <20090825233701.GH4300@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2009-08-25 16:56:40, david@lang.hm wrote: > On Wed, 26 Aug 2009, Pavel Machek wrote: > >> There are storage devices that high highly undesirable properties >> when they are disconnected or suffer power failures while writes are >> in progress; such devices include flash devices and MD RAID 4/5/6 >> arrays. > > change this to say 'degraded MD RAID 4/5/6 arrays' > > also find out if DM RAID 4/5/6 arrays suffer the same problem (I strongly > suspect that they do) I changed it to say MD/DM. > then you need to add a note that if the array becomes degraded before a > scrub cycle happens previously hidden damage (that would have been > repaired by the scrub) can surface. I'd prefer not to talk about scrubing and such details here. Better leave warning here and point to MD documentation. >> THESE devices have the property of potentially corrupting blocks being >> written at the time of the power failure, > > this is true of all devices Actually I don't think so. I believe SATA disks do not corrupt even the sector they are writing to -- they just have big enough capacitors. And yes I believe ext3 depends on that. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html