[GRLUG] RAID recovery

Greg Folkert greg at gregfolkert.net
Thu Mar 6 14:11:28 EST 2014


On Thu, 2014-03-06 at 08:49 -0600, L. V. Lammert wrote:
> Greg,
> 
> > Do this first to see the status of /dev/md0 (and any other md raid
> > devices):
> >
> >         cat /proc/mdstat
> >
> Of course, ..
> 
> > First make sure the drives are indeed failed and removed from the array:
> >
> >         mdadm --manage /dev/md0 --fail /dev/sdb2
> >         mdadm --manage /dev/md0 --remove /dev/sdb2
> >         mdadm --manage /dev/md0 --fail /dev/sdd2
> >         mdadm --manage /dev/md0 --remove /dev/sdd2
> >
> > You have to re-add the drives back into the array, first.
> >
> >         mdadm --manage /dev/md0 --add /dev/sdb2
> >         mdadm --manage /dev/md0 --add /dev/sdd2
> >
> > Then you can "watch cat /proc/mdstat" until things finish.
> >
> Bingo - that's the part that is buried in the HowTos I have seen, ..
> thanks for confirming!

Ok, and what does "cat /proc/mdstat" look like now?

-- 
greg at gregfolkert.net
PGP key 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0 2B3A ED66 6971 B524 687C
"Friendship multiplies the good of life and divides the evil."
    -- Baltasar Gracian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20140306/8a2bb85f/attachment.pgp>


More information about the grlug mailing list