RE: Best Practice for Raid1 Root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
[snip]
> The boot loader is grub and I want both /boot and / raided.
>
> In the event of a failure of hda I would like the system to switch to
> hdc. This works fine. However what I have had problems with is if the
> system reboots. If /dev/hda is unavailable I no longer have a
> disk with
> a boot sector set up correctly. Unless I have a floppy or
> CDROM with a
> boot loader the system will not come up.
>
> So my main question is what is the best practice to get a
> workable boot
> sector on /dev/hdc? How are other people making sure that
> their system
> remains bootable after a disk failure of the boot disk? Is it even
> possible with software raid and PC BIOS? Also when you
> replace /dev/hda
> how are you getting a valid boot sector on that disk?
>
> I have found grub to often be problematic so that even when I
> move the
> good drive to be hda grub does not like to install itself correctly.
>
> I am sure I am approaching this incorrect in some way, I am just not
> sure what is the right way.
>
> Terrence Martin
> UCSD Physics

hi!

one possible solution would be to use lilo. lilo is capable of booting
from md raid1 arrays. look at lilo.conf(5) manpage for 'raid-extra-boot'
in 'GLOBAL OPTIONS'. i use it on most of my maschines. AFAIK grub is not
able to boot from /dev/mdX.

hth
christian

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux