Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265901AbUA1Kyr (ORCPT ); Wed, 28 Jan 2004 05:54:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265904AbUA1Kyr (ORCPT ); Wed, 28 Jan 2004 05:54:47 -0500 Received: from unthought.net ([212.97.129.88]:10381 "EHLO unthought.net") by vger.kernel.org with ESMTP id S265901AbUA1Kyq (ORCPT ); Wed, 28 Jan 2004 05:54:46 -0500 Date: Wed, 28 Jan 2004 11:54:44 +0100 From: Jakob Oestergaard To: venom@sns.it Cc: Christoph Hellwig , Dave Kleikamp , Florian Huber , JFS Discussion , linux-kernel Subject: Re: [Jfs-discussion] md raid + jfs + jfs_fsck Message-ID: <20040128105444.GK814@unthought.net> Mail-Followup-To: Jakob Oestergaard , venom@sns.it, Christoph Hellwig , Dave Kleikamp , Florian Huber , JFS Discussion , linux-kernel References: <20040127205324.A19913@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1305 Lines: 32 On Wed, Jan 28, 2004 at 10:24:14AM +0100, venom@sns.it wrote: > > > On Tue, 27 Jan 2004, Christoph Hellwig wrote: > > > > Yes, it does. But JFS should get the right size from the gendisk anyway. > > Or did you create the raid with the filesystem already existant? While that > > appears to work for a non-full ext2/ext3 filesystem it's not something you > > should do because it makes the filesystem internal bookkeeping wrong and > > you'll run into trouble with any filesystem sooner or later. > > > In most situation to create a new FS on a RAID1 MD is not an option. > It happens that you have to mirror a partition, maybe alarge one, and it > already had a filesystem on top of it. Then what should you do? > backup, mirror and then restore? Sometimes it is not possible this too. > Then you accept to deal with the possible problems... Read The Fine Manual. :) http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-7.html#ss7.4 "Method 2" covers exactly this, for a root filesytem though, but you should be able to adapt it. / jakob - 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/