Re: Software RAID FAILED!

From: Damien Hull <dhull@digitaloverload.net>
Date: Tue Apr 25 2006 - 09:49:01 AKDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Whoops! I forgot to paste the text back into that last email I sent.

My main workstation/server is Fedora Core 3 using software RAID 1. your
grub settings are not part of my system. I guess Red Hat doesn't
configure booting from RAID on the install.

I'll run a few tests with your grub config. Once I get it working I'll
add it to my workstation/server. I don't want my main machine going down
and not rebooting.

Arthur Corliss wrote:
> On Mon, 24 Apr 2006, Damien Hull wrote:
>
>
>>QUESTIONS
>>1. Why did it fail ( drives seem to be fine )
>>2. Why didn't the system reboot from /dev/md0
>>3. Shouldn't one drive still work after something goes wrong?
>
>
> FYI: grub takes a bit more work to do redundant bootable drives. In a
> nutshell you need something like the following in /boot/grub/menu.lst:
>
> default 0
> timeout 10
> fallback 1
> serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
> terminal --timeout=10 serial console
>
> # Default entry
> title null (hd0,1)
> root (hd0,1)
> kernel (hd0,1)/boot/vmlinuz root=/dev/md1 ro console=/dev/tty0 \
> console=ttyS0,115200n8
>
> # Fallback entry
> title null (hd1,1)
> root (hd1,1)
> kernel (hd1,1)/boot/vmlinuz root=/dev/md1 ro console=/dev/tty0 \
> console=ttyS0,115200n8
>
> and then you need to run grub and execute the following commands:
>
> root (hd0,1)
> setup (hd0)
> root (hd1,1)
> setup (hd1)
> quit
>
> As others have mentioned, you do need a BIOS that will poll all drives for
> boot info in order for this to work. LILO actually does RAID in a simpler
> fashion. Just add 'raid-extra-boot = mbr-only' to /etc/lilo.conf (assuming
> boot = /dev/md1 or what have you) and rerun lilo.
>
> Assuming you have everything working correctly you should be able to boot with
> one failed drive with no trouble. I've seen it work just fine with LILO at
> least.
>
> --Arthur Corliss
> Bolverk's Lair -- http://arthur.corlissfamily.org/
> Digital Mages -- http://www.digitalmages.com/
> "Live Free or Die, the Only Way to Live" -- NH State Motto
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
>

- --
You can get my public PGP key at https://keyserver.pgp.com

Digital Overload
http://www.digitaloverload.net

Keep your data safe by doing regular backups. At Digital Overload we use
a combination of DVD and hard drive backups. For off site storage we use
a safe-deposit box at the bank.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFETmEN+rNhalK/8UURAn0WAJ45F1XfYnGH/MjpDSm8F8tyX/s0QwCcC2oC
A4O5GcV9Q/1zaEnI2yYYkhA=
=Be4a
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Apr 25 09:49:22 2006

This archive was generated by hypermail 2.1.8 : Tue Apr 25 2006 - 09:49:22 AKDT