xfs
[Top] [All Lists]

Re: Oops - XFS mount after replacing wrong RAID5 drive

To: Andrew Klaassen <ak@xxxxxxx>
Subject: Re: Oops - XFS mount after replacing wrong RAID5 drive
From: Steve Lord <lord@xxxxxxx>
Date: 05 Nov 2001 09:37:16 -0600
Cc: linux-xfs@xxxxxxxxxxx, linux-raid@xxxxxxxxxxxxxxx
In-reply-to: <20011105103521.A3864@dkp.com>
References: <20011105103521.A3864@dkp.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
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


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