Re: [Jfs-discussion] md raid + jfs + jfs_fsck

From: Jakob Oestergaard
Date: Wed Jan 28 2004 - 05:56:19 EST


On Wed, Jan 28, 2004 at 10:24:14AM +0100, venom@xxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/