[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to reconstruct MD RAID device?



On (24/08/05 15:53), Jukka Salmi wrote:
> Clive Menzies --> debian-user (2005-08-24 14:22:39 +0100):
> > On (24/08/05 14:45), Jukka Salmi wrote:
> > > a Debian 3.1 system which uses md devices for all its file systems and
> > > swap was reset by a power failure. On startup, the root file systems
> > > md device failed to configure and is in degraded mode now. I think the
> > > failed device is probably fine, but md configuration failed due to
> > > parity errors or similar. After skimming through mdadm(8)'s man page
> > > I still can't figure out what I need to do now, so help is appreciated.
> > 
> > What is the output of:
> > 
> > $  cat /proc/mdstat
> 
> Sorry, I forgot to add that...
> 
> $ cat /proc/mdstat
> Personalities : [raid1] 
> md0 : active raid1 hda1[0] hdb1[1]
>       62400 blocks [2/2] [UU]
>       
> md2 : active raid1 hda3[0]
>       39107264 blocks [2/1] [U_]
>       
> md1 : active raid1 hda2[0] hdb2[1]
>       976640 blocks [2/2] [UU]
>       
> unused devices: <none>

Have you tried something like:

$ mdadm /dev/md2 -a /dev/hdb3

Regards

Clive
 

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: