[CentOS] Raid 1 newbie question

Thu Apr 26 12:57:29 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On 4/26/07, Roberto Pereyra <pereyra.roberto at gmail.com> wrote:
> 2007/4/26, Akemi Yagi <amyagi at gmail.com>:
> > On 4/25/07, alex at avantel.ca <alex at avantel.ca> wrote:
> > > On Wed, April 25, 2007 11:54 am, Roberto Pereyra wrote:

> > I recently had a similar problem.  One disk was reported to have
> > failed.  I ran mdadm to add it back.  The reconstruction took a couple
> > of hours (500GB) but it seems to be working now.  So, as the above
> > advice suggests, read man page for mdadm and try to recover the lost
> > partition.

> Hi !
>
> Can I force the reconstruction without risk with this command ?
>
>  mdadm --assemble --force
>
> roberto

There is no such thing like "without risk"  :)

In my particular case, after having made a full backup copy, I simply
added the failed drive by:

mdadm /dev/md0 --add /dev/sdb1

(note that /dev/sdb1 was the one failing)

Akemi