linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* device with newer data added as spare - data now gone?
@ 2009-06-26 11:46 Molinero
  2009-06-28 19:04 ` Leslie Rhorer
  2009-07-01  2:43 ` Roger Heflin
  0 siblings, 2 replies; 4+ messages in thread
From: Molinero @ 2009-06-26 11:46 UTC (permalink / raw)
  To: linux-raid


Hi all

I've lost quite a lot of data on my /home raid partition and I'm wondering
what exactly I did to make it happen. I'd like to know so something similar
won't happen in the future.

I'm pretty much a raid newbie. I setup raid1 on my home server and I'm
guessing that something like this happened. Please tell me if it's possible.

* Some time ago I did something to have one device fail which resulted md3
in having only 1 device.
* Time went by without me noticing (because I suck)
* An update broke my raid setup and gave me a kernel panic (because I suck).
Didn't put the mdadm and raid hooks in mkinitcpio.conf
* Booted a live-cd, mounted the drives and chrooted back into the system and
fixed the mkinitcpio.conf
* Rebooted and noticed that md3 was running with only 1 device
* Added sdb4 to md3 and it then read 1 device with 1 spare
* cat /proc/mdstat started to say "recovery"
* All data from approx. 1 year is gone

I guessing that the old (not updated) device was set as "master" and the
data on the drive (containing newer data) was overwritten by data on the old
device - is this plausible?

If not what exactly did I do to delete all of the data? 

It's not the end of the world but it does suck a lot - especially some email
and pictures are gone that I will miss.

Any clarifications will be much appreciated.
-- 
View this message in context: http://www.nabble.com/device-with-newer-data-added-as-spare---data-now-gone--tp24218843p24218843.html
Sent from the linux-raid mailing list archive at Nabble.com.


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

end of thread, other threads:[~2009-07-01  9:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-26 11:46 device with newer data added as spare - data now gone? Molinero
2009-06-28 19:04 ` Leslie Rhorer
2009-07-01  2:43 ` Roger Heflin
     [not found]   ` <ab50889f0907010231k2af2f35l7d880187a395b6d0@mail.gmail.com>
2009-07-01  9:32     ` John McNulty

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).