Re: Need help recovering RAID array after admin error

Nicholas Berry (nikberry@med.umich.edu)
Mon, 09 Dec 2002 10:36:57 -0500


>>> "Peter T. Breuer" <ptb@it.uc3m.es> 12/09/02 08:31AM >>>
In article <20021209120431.GB9768@mina.ecs.soton.ac.uk> you wrote:
> Software RAID-5 does indeed protect against a disk failure.

> Don't worry about it. Remake the whole array with mkraid --force
> --dangerous-no-resync. Then mark the really failed disk or its
> replacement as faulty with raidsetfaulty. Then take it out with
> raidhotremove, then put it back wit raidhotadd. It'll be resynced
> from the oter two.

Or, as you're using mdadm anyway:

mdadm -A -f /dev/md? <list of disk devices>

Nik

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/