Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After a harddrive failure, i tried to resync the existing software raid.

I copied the partitionstructure

sgdisk -R /dev/sdb /dev/sda
sgdisk -G /dev/sdb

And added the drive back to the volumes

mdadm /dev/md0 -a /dev/sdb1
mdadm /dev/md1 -a /dev/sdb2
mdadm /dev/md2 -a /dev/sdb3

md0 and md1 are syncing properly but the main data partition md2 failes.

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sdb1[2] sda1[0] 16768896 blocks super 1.2 [2/2] [UU]

md2 : active raid1 sdb3[2] sda3[0] 2912831744 blocks super 1.2 [2/1] [U_] [>....................] recovery = 1.0% (31483008/2912831744) finish=297.5min speed=161368K/sec

md1 : active raid1 sdb2[2] sda2[0] 523968 blocks super 1.2 [2/2] [UU]

Somewhere in the middle recovery stops / fails, and I don't have a clue why.

Any ideas how to find out what the problem is ?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.