linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AW: recover short-time-power-failure of raid 5?
@ 2002-11-25 10:07 Martin Bene
  2002-11-25 10:15 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Bene @ 2002-11-25 10:07 UTC (permalink / raw)
  To: Neil Brown, krause; +Cc: linux-raid

Hi markus,

> I suggest that after assembling the array, you 'fsck' the filesystem
> on md0 just to make sure that the data is fine and then simply hot-add
> the third device:
>   mdadm /dev/md0 -a /dev/sdc
> 
> If fsck reports lots of error..... maybe try force the assmbly from a
> different pair of drives. e.g.
>    mdadm -A --force /dev/sda1 /dev/sdc2
> 
> and then do the fsck.

Oh, and if you try this: DON'T allow fsck to change/fix anything on the disks
if you want to later try a different combination - data corruption is pretty
much guaranteed if you allow any writes and then change to a different set of
disks.

Bye, Martin
PS: not sure what happens if you're using a journaling fs on the raid - I
think fsck replays the journal before checking, so trying out different
combinations of disk doesn't look like a viable option in that case?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-25 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 10:07 AW: recover short-time-power-failure of raid 5? Martin Bene
2002-11-25 10:15 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).