Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760133AbZADSlE (ORCPT ); Sun, 4 Jan 2009 13:41:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751272AbZADSkw (ORCPT ); Sun, 4 Jan 2009 13:40:52 -0500 Received: from thunk.org ([69.25.196.29]:43083 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbZADSku (ORCPT ); Sun, 4 Jan 2009 13:40:50 -0500 Date: Sun, 4 Jan 2009 13:40:40 -0500 From: Theodore Tso To: Duane Griffin Cc: Valdis.Kletnieks@vt.edu, Martin =?utf-8?Q?MOKREJ=C5=A0?= , Pavel Machek , kernel list , Andrew Morton , mtk.manpages@gmail.com, rdunlap@xenotime.net, linux-doc@vger.kernel.org Subject: Re: document ext3 requirements Message-ID: <20090104184040.GC17558@mit.edu> Mail-Followup-To: Theodore Tso , Duane Griffin , Valdis.Kletnieks@vt.edu, Martin =?utf-8?Q?MOKREJ=C5=A0?= , Pavel Machek , kernel list , Andrew Morton , mtk.manpages@gmail.com, rdunlap@xenotime.net, linux-doc@vger.kernel.org References: <20090103222957.GG1666@elf.ucw.cz> <495FEE66.9080903@ribosome.natur.cuni.cz> <495FF9CE.2020908@ribosome.natur.cuni.cz> <495FFECB.5040001@ribosome.natur.cuni.cz> <15786.1231041158@turing-police.cc.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 23 On Sun, Jan 04, 2009 at 02:24:43PM +0000, Duane Griffin wrote: > > Is there a way using md/dm/lvm etc to make the source partition R/O and > > replay the journal onto a CoW snapshop? Admittedly, not easy to do inside > > the 'mount' command itself, but at least it might be workable for LiveCD R/O > > mounts and forensics work, where you can *tell* beforehand that's what you > > want and can jump through setup games before doing the mount... > > Yes, something like that is best practice, as I understand it. The > LiveCD init scripts could check whether they are about to R/O mount an > ext[34] filesystem needing recovery and either refuse with a useful > message to the user, or even automatically create and mount a COW > snapshot, as you described. They'd still need to warn the user though, > since things like remounting R/W wouldn't work as expected. So what's the use case where people want to be able to mount a filesystem needing recovery read/only without running the journal? - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/