From: Eric Sandeen Subject: Re: Add a norecovery option to ext3/4? Date: Sun, 08 Apr 2007 22:42:03 -0500 Message-ID: <4619B60B.6030405@redhat.com> References: <20070409000556.GA13980@implementation> <4619B202.3050601@redhat.com> <20070409033134.GB13980@implementation> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Samuel Thibault , Eric Sandeen , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:40485 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752625AbXDIDmH (ORCPT ); Sun, 8 Apr 2007 23:42:07 -0400 In-Reply-To: <20070409033134.GB13980@implementation> Sender: linux-ext4-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org Samuel Thibault wrote: >> Hm, so the root cause there seems that the installer found 2 legs of a >> mirror and mounted them independently, recovering them independently... >> But why did that cause problems? > > Because that thrashed his data (or at least it didn't help to keep data > safe). > >> Other options you may have in the installer, though, is to check for >> md superblocks before mounting bare partitions, or maybe use the >> BLKROSET ioctl to set the block device to read-only prior to mount, >> for added insurance... > > That's one the things proposed in the bugreport yes. The reason I suggest other options is because intentionally mounting a corrupted FS may not really be the way you want to go... norecovery on xfs at least is an option of last resort, not something to use by default. -Eric