On Mon, 2001-11-05 at 09:35, Andrew Klaassen wrote:
> I think I may have just replaced the wrong drive after a SW
> RAID5 drive failure.
>
> And then I mounted the XFS filesystem read-write. (Doh!)
>
> Can I put the old probably-good drive back into the array and
> replace the actually-bad drive?
>
> Would XFS's log replay have written enough to the array to get
> the RAID5 hopelessly out of sync with the old probably-good
> drive?
>
> (The XFS filesystem did not unmount cleanly after the first
> drive failure. That's why I'm assuming that it replayed its log
> when I mounted it after replacing the drive.)
It will have replayed its log - and that information is now gone,
so it is a little hard to say what state the filesystem is really
in now.
>
> How do I mount the filesystem without writing anything at all to
> the array?
>
mount -o ro,norecovery
Even a readonly mount without the norecovery will attempt to run
recovery.
> Thanks.
>
> Andrew Klaassen
Best of luck!
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|