Skip to contentSkip to conversation

Software raid, booting and bios

DISCUSSION Paul van der Vlis 2 participants 3 messages May 20, 2011 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello,

I use software raid (mdadm). The main problem for me is that when the drive with the MBR fails, it can become a problem to boot.

When the bios would use another drive to boot when the first drive failes, this problem would be gone. But I don't know rackservers who do that. Do you?

Or is there maybe some kind of fake-raid card what uses mdadm to solve this problem?

Another way would be to use e.g. an USB device to boot to solve this problem. Any experiences with that?

(hmm, I realize that netboot is an option too).

With regards,
Paul van der Vlis.

Signature · 1 line
http://www.vandervlis.nl
#1 lore raw

Please can you further define what you mean by 'it can become a problem to boot' ?
Generally this is resolved by having a mbr and boot partition on each of your mirrored drives so that whichever you use to boot has the pertinent information to boot the kernel and construct the raid array. If you have raid 5 with 3 disks you'd have a 3 drive mirror partition on each disk and a raid 5 set across all three too.

I'm not a guru on this and can't provide much knowledge past the theory and high level ;-)
Simon

Quoted 28 lines · Paul van der Vlis

Hello,

I use software raid (mdadm). The main problem for me is that when the drive with the MBR fails, it can become a problem to boot.

When the bios would use another drive to boot when the first drive failes, this problem would be gone. But I don't know rackservers who do that. Do you?

Or is there maybe some kind of fake-raid card what uses mdadm to solve this problem?

Another way would be to use e.g. an USB device to boot to solve this problem. Any experiences with that?

(hmm, I realize that netboot is an option too).

With regards,
Paul van der Vlis.

--
http://www.vandervlis.nl

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Op 20-05-11 09:03, Simon Mcnair schreef:

Quoted 7 lines

Please can you further define what you mean by 'it can become a problem to boot' ?
Generally this is resolved by having a mbr and boot partition on each of your mirrored drives so that whichever you use to boot has the pertinent information to boot the kernel and construct the raid array. If you have raid 5 with 3 disks you'd have a 3 drive mirror partition on each disk and a raid 5 set across all three too.

In the bios from my machines (Supermicro, Dell) I can select only one drive to boot. Wenn the drive fails, no other disk is tried.

I can go into the bios and change the drive when it fails, or I can exchange the disks. But I would like it, when the machine would simple boot even when the first disk is corrupt.

With regards,
Paul van der Vlis.

Quoted 39 lines

I'm not a guru on this and can't provide much knowledge past the theory and high level ;-)
Simon

Quoted 21 lines · Paul van der Vlis

Hello,

I use software raid (mdadm). The main problem for me is that when the drive with the MBR fails, it can become a problem to boot.

When the bios would use another drive to boot when the first drive failes, this problem would be gone. But I don't know rackservers who do that. Do you?

Or is there maybe some kind of fake-raid card what uses mdadm to solve this problem?

Another way would be to use e.g. an USB device to boot to solve this problem. Any experiences with that?

(hmm, I realize that netboot is an option too).

With regards,
Paul van der Vlis.

Quoted 7 lines

--
http://www.vandervlis.nl

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html