Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a degraded RAID1 array running on Debian 7. I am trying to add another disk to the degraded array, but mdadm forgets the existence of the other disk at reboot. The array devices are /dev/sda1 and /dev/sda2 (two ext4 formatted 2TB partitions).

My problem is that the array will rebuild with /dev/sda1 and /dev/sdb1 but on restart, only /dev/sda1 will be included in the array (it will revert back to a degraded state). mdadm -D /dev/md0 doesn't indicate anything about /dev/sdb1 at all - just the original degraded /dev/sda1 configuration. But if i don't restart, the array sits there quite happily.

I have no idea where I'm going wrong! Why is mdadm "forgetting" that I have added /dev/sdb1 to the array?

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.