linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re-assembling a software RAID in which device names have changed.
@ 2008-04-08  4:34 Sean H.
  2008-04-08 17:25 ` Michael Tokarev
  0 siblings, 1 reply; 6+ messages in thread
From: Sean H. @ 2008-04-08  4:34 UTC (permalink / raw)
  To: linux-raid

To preface, I'm a fairly new Linux user, and have little experience
with RAID. I've taken this question several places and have yet to get
an answer which solves my problem, so I figured I'd come to the
experts.

I have a five-disk RAID 5, and one of the disks is failing. Every few
days it'll start buzzing, and will continue buzzing until the drive is
forced to spin down and back up, by either a restart or suspending to
RAM.

 Now, today, I wanted to determine which disk was failing, so I
unmounted my array and unplugged drives - Specifically, three. The
third was the culprit, and I plugged the drives back in and rebooted.

 The gift, or in this case, curse of my motherboard is that it
supports hot-swapping of SATA drives. So the drives didn't just
disappear inside the OS and reappear after a reboot. They disappeared
and re-appeared in the OS with incorrect /dev/sd* locations, and then
I rebooted.

 I was unable to boot until I removed the line detailing the array
from my fstab. Now, when I manually 'mdadm --assemble /dev/md0' mdadm
finds the two untouched drives, then stops and tells me that they're
not enough to start the array.

 So... How can I reassemble the array without knowing what order the
drives are in?

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

end of thread, other threads:[~2008-04-08 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08  4:34 Re-assembling a software RAID in which device names have changed Sean H.
2008-04-08 17:25 ` Michael Tokarev
2008-04-08 17:55   ` Sean H.
2008-04-08 18:37     ` Michael Tokarev
2008-04-08 19:06       ` Sean H.
2008-04-08 20:19         ` Michal Soltys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).