From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932465AbZHZLSC (ORCPT ); Wed, 26 Aug 2009 07:18:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932264AbZHZLSB (ORCPT ); Wed, 26 Aug 2009 07:18:01 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54584 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932084AbZHZLSA (ORCPT ); Wed, 26 Aug 2009 07:18:00 -0400 Date: Wed, 26 Aug 2009 13:17:52 +0200 From: Pavel Machek To: Rik van Riel Cc: Ric Wheeler , Theodore Tso , 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] ext2/3: document conditions when reliable operation is possible Message-ID: <20090826111751.GC26595@elf.ucw.cz> References: <20090824195159.GD29763@elf.ucw.cz> <4A92F6FC.4060907@redhat.com> <20090824205209.GE29763@elf.ucw.cz> <4A930160.8060508@redhat.com> <20090824212518.GF29763@elf.ucw.cz> <20090824223915.GI17684@mit.edu> <20090824230036.GK29763@elf.ucw.cz> <4A932B18.1020209@redhat.com> <20090825093414.GB15563@elf.ucw.cz> <4A94ACDF.30405@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A94ACDF.30405@redhat.com> 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 23:32:47, Rik van Riel wrote: > Pavel Machek wrote: > >>> So, would you be happy if ext3 fsck was always run on reboot (at >>> least for flash devices)? >> >> For flash devices, MD Raid 5 and anything else that needs it; yes that >> would make me happy ;-). > > Sorry, but that just shows your naivete. > > Metadata takes up such a small part of the disk that fscking > it and finding it to be OK is absolutely no guarantee that > the data on the filesystem has not been horribly mangled. > > Personally, what I care about is my data. > > The metadata is just a way to get to my data, while the data > is actually important. Personally, I care about metadata consistency, and ext3 documentation suggests that journal protects its integrity. Except that it does not on broken storage devices, and you still need to run fsck there. How do you protect your data is another question, but ext3 documentation does not claim journal to protect them, so that's up to the user I guess. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html