Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm fairly new to Ubuntu but I was able to setup my server with RAID5. The OS resides on a separate drive and there are 3 drives in my array.

The problem is that I had to reinstall my OS on a new drive (currently /dev/sdd) due to a hardware failure and needed to recover my array. mdadm did not create it auto-magically after installing so I followed the instructions SpamapS posted in this thread and got to the point where I recovered the array and could access it using:

mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1

Now in the next step he says that I'll

want to save the configuration if you have to do that manually:


And then update the initramfs for your system:

update-initramfs -u

This is where I am not sure how to proceed. I want to make sure that my array will come up after a reboot.

Thanks in advance!

share|improve this question

If you've already assembled the array successfully then the remaining steps need not be feared.

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Tom Brossman Oct 31 '12 at 17:08
Actually, he's got all the right steps. The OP merely needs to execute them. My statement was an affirmative one, everything there should work, if it doesn't he'll need to provide more info. – ppetraki Nov 1 '12 at 15:39

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.