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.
|