2002-12-09 15:29:37

by Nicholas Berry

[permalink] [raw]
Subject: Re: Need help recovering RAID array after admin error



>>> "Peter T. Breuer" <[email protected]> 12/09/02 08:31AM >>>
In article <[email protected]> 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