All of lore.kernel.org
 help / color / mirror / Atom feed
* Resurrecting a Dirty RAID-5
@ 2015-07-08 12:14 jtroan
  2015-07-08 13:19 ` Phil Turmel
  0 siblings, 1 reply; 8+ messages in thread
From: jtroan @ 2015-07-08 12:14 UTC (permalink / raw)
  To: linux-raid


I've accidentally toasted a software RAID-5 on one of my VM hosts, taking a
small number of VMs with it.  (Fortunately, no unique data was lost as
every server has a "twinned" system or the data can be regenerated from
elsewhere via script.)

Short background --  the system is RHEL 6.5 and has a three-drive RAID-5
with most of the space.  ( /boot is a RAID-1 and it seems to be fine in a
degraded state.)   The system locked up when (presumably) one of the drives
died.  Upon reboot, I saw errors for "ata2", so I naturally forgot that the
drives started at ata0 and unplugged the drive at "SATA2" (DOH!).  The
system errored and halted its boot when the root file system was no longer
available.  I then switched around cables and brought up ata0 and ata1, but
the RAID won't start because of the dirty broken raid.

I booted from the RHEL 6.5 DVD and entered rescue mode.  Using information
from the Linux RAID wiki [1], I was able to confirm that my sd0 and sd1
drives are alive and have all three partitions I had originally deployed to
them -- /boot, /, and swap space.

Following the advice on the wiki [1], I'm asking for some help in using
mdadm via rescue mode in trying to get this dirty RAID-5 back on its feet
with the surviving two drives.  (I've got a third drive already on hand
that's I'll then use to bring the RAID back to full robustness.)

[1] https://raid.wiki.kernel.org/index.php/RAID_Recovery


Many thanks for any assistance that can be provided.....

=======================================================================
John M. Troan  <jtroan@jt-sw.com>
Maintainer: Football Site @ JT-SW.com
  http://www.jt-sw.com/football
Chief of Computer Operations
  U.S.S. Kitty Hawk / NCC-1659
=======================================================================


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

end of thread, other threads:[~2015-07-13  7:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 12:14 Resurrecting a Dirty RAID-5 jtroan
2015-07-08 13:19 ` Phil Turmel
2015-07-09  2:57   ` jtroan
2015-07-12  5:57     ` Mikael Abrahamsson
2015-07-12 15:01       ` jtroan
2015-07-12 22:33         ` Adam Goryachev
2015-07-13  6:31           ` Can Jeuleers
2015-07-13  7:15             ` Adam Goryachev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.