xfs
[Top] [All Lists]

Re: Problem with XFS on software RAID1

To: Dariush Pietrzak <eyck@xxxxxxxxxxxx>
Subject: Re: Problem with XFS on software RAID1
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Fri, 23 May 2003 16:44:17 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030523143831.GA11793@xxxxxxxxxxxx>
References: <4.3.2.7.2.20030523160347.03871080@xxxxxxxxxxxxx> <20030523134818.GA1514@xxxxxxxxxxxx> <4.3.2.7.2.20030523160347.03871080@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
At 16:38 23-5-2003 +0200, Dariush Pietrzak wrote:
On Fri, May 23, 2003 at 04:16:02PM +0200, Seth Mos wrote:
> mount /dev/sda1 under /mnt/sda1
Exactly.. that part doesen't work with XFS for me, although I see no reason for it
to fail ( other than that raw partition contains raid superblock, and it
works fine with other filesystems ).
 For this part you can always created degraded array with non-existant
failed disk and then mount this.
But I still have no idea how one could migrate from simple filesystem to
RAID1.

This is what I always use for this procedure.
http://www.fokus.gmd.de/linux/HOWTO/Boot+Root+Raid+LILO-4.html

And it works like a charm, I have built several systems using various XFS releases with this procedures.

> Linux software raid 1 uses read balancing to give higher read speeds (raid
> 0 like), however the data on both disks must be the _exact_ same to the
> bit. Mounting the disk without the raid layer once will make them different
 I don't know the code, but if i understand correctly then untill the array
is resynced it works in degraded mode and should read only from working
partition.

This is correct.

 The other thing is that I'm working here with clean filesystems so no
log-reply should occur ( i think ).

But it will update it's superblock on each mount.

Cheers

--
Seth
It might just be your lucky day, if you only knew.


<Prev in Thread] Current Thread [Next in Thread>