You are not logged in.

#1 2011-06-04 14:33:29

rype89
Member
Registered: 2010-08-12
Posts: 10

Need Serious Help with mdadm/lvm

Not really sure where to post this, but am desperate for a solution, so here goes.

I have Arch installed on raid5 following the wiki here

https://wiki.archlinux.org/index.php/In … AID_or_LVM

Have been using it for a few months without any issues until today. My pc crashed during normal usage and ctrl-alt-bkspace didn't help so I hit reset on my cpu. Following that I'm unable to boot up. I get something like this on boot up

http://paste.pocoo.org/show/400524/

I'm on a livecd now (system rescue cd) trying to figure out what's going on... I've had some help on the irc and it seems i have a a 3 disk raid5 where 2 of the 3 disks got misassebled as a raid1 and now the uuids don't match.

When I did cat /proc/mdstat, it showed a number of raid1 arrays labelled md122 md123 md124 md125 md126 md127.. where my original arrays are md0 md1 md2. Here's the output of cat /proc/mdstat

http://paste.pocoo.org/show/400644/

I stopped md122-md127 and tried assembling md0 and got this.

http://paste.pocoo.org/show/400580/

Would appreciate any help. I'll also be on the irc channel til this issue is resolved.

Last edited by rype89 (2011-06-05 12:58:24)

Offline

#2 2011-06-04 23:41:52

rype89
Member
Registered: 2010-08-12
Posts: 10

Re: Need Serious Help with mdadm/lvm

Not sure if this will help any..

http://paste.pocoo.org/show/400837/

Offline

#3 2011-06-05 11:21:10

rype89
Member
Registered: 2010-08-12
Posts: 10

Re: Need Serious Help with mdadm/lvm

Okay I've been trying to fix this with the help of someone on irc and after lots of troubleshooting, here's the state I'm in right now.

1. We figured that one of the drives failed about a week ago and perhaps another just a day ago. (not the physical drives but the sata port due to the intel 6 chipset issue here http://www.intel.com/consumer/products/ … ipset.htm)

2. I tried to recreate the arrays with

mdadm --create /dev/md0 --level=5 --raid-devices=3 --assume-clean /dev/sda3 /dev/sdb3 missing

and then added sdc3 later on. Once added, it started syncing but the sync suddenly failed.. http://paste.pocoo.org/show/400945/

3. Once we figured the sata port was the issue, I swapped the port for the one drive that's on the affected ports.

4. Now the drives labels are probably different. So, one drive has old data and I don't know the order of the 3 drives. That's my biggest issue now. I need to know which are the correct 2 drives to use and the order of the 2 other drives so that i can recreate the array.

And yes get my motherboard replaced too.

If anyone is interested, here's the chatlog with the help I got.
http://paste.pocoo.org/show/401031/

I'll appreciate any help at all. I only get home on the weekends so I only get about 48hours a week to try and solve this issue. Can use all the help I can get.
Ryan

Offline

Board footer

Powered by FluxBB