View Single Post

   
  #2 (permalink)  
Old 01-18-2008, 08:40 AM
Peter T. Breuer
 
Posts: n/a
Default Re: Problem with raid boot

Connor T <madman_dan@hotmail.com> wrote:
> I've successfully setup raid ( mirroring ) on 2 80gb drives.


Linux soft raid is per partition, not per "drive", so it is not clear
what you mean (and it is a fairly silly idea IMNSHO to have / on a raid
partition, since it should nearly never change, hence millisecond by
millisecond mirroring is unneccesary and just complicates boot and
makes it more unreliable - which you do not want).

> However, I can't get the machine to recognise and boot off the second
> drive.


I don't know what you mean. Are you saying that if you take the first
drive out then boot and let the bios read the MBR on the second drive,
then that MBR turns out t pint to the first drive, and hence, nix,
not, no.

If so.

> Presumably it's not marked as bootable


There's no such thing. That's a widnos concept associated with a flag
on the partition. It's meaningless to all the linux loaders I know.

> and may not have a boot
> loader?


You tell me. How would we know? Did you put one there? If not, then
no, there is none there.

> How can I fix this?


By putting one there, if indeed there is none.

> I thought the raid would copy all this information


I don't know what you mean. Anyway, "linux soft raid is per partition,
not per disk".

> too?


But you don't want the information copied. You want different
bootloaders, in principle, becuase the kernel image is on different
disks - the bios device code would have to be different. SO what on
EARTH are you on about?

> This is on Centos 4.1, installed as raid from scratch.


What do you mean? What is a "Centos 4.1"? Is it a distro? I suppose
so! And what do you mean by "installed as raid"? Raid is a
technology.

Peter
Reply With Quote