Re: raid 5 on boot? root?

From: Justin Guerin (jguerin_at_cso.atmel.com)
Date: 08/18/04

  • Next message: Paul Johnson: "USE THREADS, DAMMIT! Re: No list mail"
    Date: Tue, 17 Aug 2004 17:00:26 -0600
    To: debian-user@lists.debian.org
    
    

    On Tuesday 17 August 2004 11:13, Richard Weil wrote:
    > I don't know if my configuration is (a) setup badly, or (b) impossible.
    > Before I spend too much more time on it, I wonder if anyone has
    > relevant experience.
    >
    > Is it possible to have both boot and root on RAID 5? I'm getting a
    > kernel panic mid-way through boot. Assuming it's not possible, what
    > about if boot is on a normal drive and root is on RAID 5?
    >
    > I'm running up-to-date Sarge with kernel 2.6.7. I'm using the stock
    > Debian kernel and the Grub boot loader.
    >
    > Thanks,
    >
    > Richard
    >
    >
    Hi Richard,

    It is possible to have both root and boot on a raid partition. I've done it
    with raid1. I can't imagine raid5 would be any different.

    One way to do this is to custom compile your kernel to include all the
    relevant drivers you need (raid and file system) to mount your root
    partition. Debian stock kernels have the drivers compiled as modules,
    which isn't good enough. They need to be compiled into the kernel
    unless...

    You build an initial ram disk image which includes the necessary modules.
    Then, you can use the stock kernels. You just need to make sure the initrd
    was built with the modules you need.

    I have heard that grub might have some limitations booting from a raid
    partition, but I can't say for sure either way. I haven't tried with grub
    yet.

    Oh, and also, some old bioses might have problems. Otherwise, it's
    possible. Note that it's easier to have /boot on a non-raid, so you might
    set it up non-raid at first, then move the /boot partition to raid when
    you've got / working correctly.

    Justin Guerin

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Paul Johnson: "USE THREADS, DAMMIT! Re: No list mail"

    Relevant Pages

    • Re: booting linux using a floppy
      ... which kernel of the list to boot from. ... Note that this will at this point remove your ability to boot into windows. ... I think I recall that you said the grub loader... ... and grub will search for a partition containing grub's stage2 file ...
      (comp.os.linux.misc)
    • Re: mkraid could not lock sda2
      ... Your fstab shows that sda1 is being used, ... going to try to boot from your raid array, mark the partition as bootable. ...
      (Debian-User)
    • Re: My Machine Wont Boot
      ... The boot order is correct in the bios. ... Decoded into readable language, the,0 is the partition number of the (0 ... Installing Grub And A Kernel ... won't install grub because the kernel hasn't changed. ...
      (Fedora)
    • slackware 9.1 software raid problem
      ... Setting up a RAID system with Slackware 8 is not extremely difficult once ... mirroring the root partition and booting from that mirror was not possible. ... Each disk is attached to a different IDE chain on the motherboard. ... The ability to boot from the Slackware 8 install CD. ...
      (alt.os.linux)
    • iowait problems on 2.6, not on 2.4
      ... and a external RAID connected to a QLA2200/QLA2xxx FC-SCSI Host Bus ... Using one partition on the first HD for the root partition, ... Would that mean I have some problem with the kernel? ... I also tried to use the ext3 data partition instead of the ...
      (Linux-Kernel)