xfs
[Top] [All Lists]

Re: XFS and MD devices.

To: Daniel Pittman <daniel@xxxxxxxxxxxx>
Subject: Re: XFS and MD devices.
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2003 16:06:47 +0200
Cc: linux-xfs@xxxxxxxxxxx
Organization: Sauter AG, Basel
References: <87sms1jtot.fsf@enki.rimspace.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Daniel Pittman schrieb:
> 
> I moved my system from ext3 to XFS on RAID1 tonight, which was
> relatively painless all things considered. There was one irritation with
> the XFS tools, though.
> 
> Since I didn't want to toss 30GB of data over my network twice[1] I used
> the second disk of the pair to create a degraded mode RAID1 device.

You mean you had the ext3 fs on RAID1?

> 
> I think tried to create an XFS filesystem on it and, annoyingly, got
> told that my MD array was not clean.

Interesting, IIRC XFS doesn't know anything about the state of an MD
device because it's one level deeper.

> 
> It would be *really* nice if there was some way to override this warning
> when I do know that the array is in degraded mode, and I really do want
> to do this anyway.

XFS complains if there is already another fs on the device. If you took
one disk out of an ext3/RAID1 device and created a new degraded separate
MD device with it, mkfs.xfs will complain because it detects the
previously created ext3 filesystem which still exists on the new,
degraded MD device.

> 
> I hacked this by making removing the exit() call in md.c in libdisk,
> which seemed the sensible path to me.

Hm, maybe I didn't really understand what your problem was?

Simon

> 
>    Daniel
> 
> Footnotes:
> [1]  ...not to mention the lack of anywhere else to store it...
> 
> --
> > What should I look for in a good bird bath?
> And in response, thus spake the Oracle:
> } In a good bird bath? I'd expect to find birds.
> } In a bad bird bath, tarantulas.


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