public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] A drive in my RAID6 has failed
@ 2013-09-05 16:49 Paul Hartman
  2013-09-05 16:52 ` Michael Orlitzky
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Hartman @ 2013-09-05 16:49 UTC (permalink / raw
  To: Gentoo User

Hi,

I woke up this morning to see the dreaded email from mdadm telling me
one of my drives failed overnight, while I was happily dreaming about
cute puppies and kittens installing a rainbow-colored roof on my
house. The array is a RAID6 (two parity drives) and this is the
current state:

md0 : active raid6 sdd1[5] sdg1[4] sde1[3](F) sdh1[2] sdf1[1] sdi1[0]
      11720009728 blocks super 1.2 level 6, 512k chunk, algorithm 2
[6/5] [UUU_UU]

I've been using RAID in Linux for years, but this is actually the
first time I've had a disk fail in one.

If I remember correctly, the process should be as simple as:

#remove the failed disk from the array:
mdadm /dev/md0 -r /dev/sde1

#pull the drive, replace with new one, partition it, then add it to the array:
mdadm /dev/md0 -a /dev/sde1

and sit back and eat popcorn while I enjoy the blinkenlights for the
next several hours/days? :) Any advice/suggestions for managing this
process any differently?

For now I have unmounted the filesystem that sits atop it, to prevent
any more writes from occurring, just in case...

Thanks,
Paul


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-06 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05 16:49 [gentoo-user] A drive in my RAID6 has failed Paul Hartman
2013-09-05 16:52 ` Michael Orlitzky
2013-09-05 17:11   ` Paul Hartman
2013-09-06  5:46     ` Paul Hartman
2013-09-06 15:40       ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox