Skip to contentSkip to conversation

Can't Boot from /dev/md0

DISCUSSION Wiliam Colls 1 participant 2 messages Mar 11, 2012 – Mar 12, 2012 MD RAID

lore
Share & tools
lore
#0 lore raw

Ubuntu 10.04 server, patched to date.

This machine is configured to boot from a Raid1 array. The partitions are located on /dev/sdb1 and /dev/sdc1, the boot partition is located on /dev/sda1. This configuation has worked well for some time, but after a recent shutdown for maintenance, which did not involve any of the partitions, the machine refuses to boot. The sequence hangs very shortly after startup, and eventually errors out with the message /dev/md0 not available. and drops into the Busybox shell.

After booting from a live rescue CD, and examining the partitions, they are all intact, and clean. They rescue CD was able to assemble the array.

Not sure where to go from here. Any Suggestions will be greatfully received.

William.

PS. I am sure that I read some recent discussion on a very similar problem, but I can't find that material now. If anyone has a link, it also be greatfully received.

Signature · 1 line
I know that you believe that you understand what you think I said, but I am not sure that you realise that what you heard was not what I meant.
#1 lore raw

Re: Can't Boot from /dev/md0 - Solved

Quoted 14 lines · Wiliam Colls

Ubuntu 10.04 server, patched to date.

This machine is configured to boot from a Raid1 array. The partitions are located on /dev/sdb1 and /dev/sdc1, the boot partition is located on /dev/sda1. This configuation has worked well for some time, but after a recent shutdown for maintenance, which did not involve any of the partitions, the machine refuses to boot. The sequence hangs very shortly after startup, and eventually errors out with the message /dev/md0 not available. and drops into the Busybox shell.

After booting from a live rescue CD, and examining the partitions, they are all intact, and clean. They rescue CD was able to assemble the array.

Quoted 9 lines

Not sure where to go from here. Any Suggestions will be greatfully received.

William.

PS. I am sure that I read some recent discussion on a very similar problem, but I can't find that material now. If anyone has a link, it also be greatfully received.

At least for now. After further investigation, I realised that the mdadm module was availalbe in the kernal, and I was able to assemble the array from the busybox prompt, and the boot will then continue normally. Still trying to determine what caused the problem and find a permanent fix.

Signature · 1 line
I know that you believe that you understand what you think I said, but I am not sure that you realise that what you heard was not what I meant.