Re: RAID Help!!

From: André von Raison (avr_at_ix.heise.de)
Date: 01/19/05


Date: Wed, 19 Jan 2005 11:50:37 +0100

frank schrieb:
> Deke wrote:
>
>> 1. How does one recover from software RAID (mirroring). Meaning .. if
>> the primary drive that the PC boots from fails, how do you tell it to
>> automatically boot from the secondary drive. Assume that I am using
>> adaptec scsi and the boot drive is ID 0 and secondary mirror drive is
>> ID 1.
>>
>> 2. Any one know of any good external rackable 1U SCSI->RAID enclosures
>> that has good value and is reliable and is not too pricey? With
>> controllers included please..
>
> IF you really had RAID 0 - mirroring going, just unplug the bad drive.
> If it does not boot, you didn't have Raid 0 working. For Hardware
> Raid you need to set a new drive in & config.

Just to be correct: the RAID level for mirroring is RAID 1. RAID 0 is
striping which means that if one drive of the stripe set fails you loose
all your data on that stripe set.

> There is also a difference if it was Hardware Raid or software raid.

Thats correct, but if Deke would have a hardware RAID he would have
gotten an error message but his system would be still useable/bootable.
So I assume he's using a software RAID. Ideally (if he has configured
his system using disk labels) he just has to unplug the broken disk to
get his system back to life-without the RAID on the boot device. In the
second step he should edit his grub.conf to change the boot device from
/dev/sda to /dev/sdb power down the system, put in the replacement for
the defective disk, reboot, partition and configure the new disk to act
as mirror for /dev/sdb. The driver should the recognize the
inconsistency of the RAID and start a rebuild of the mirror.

HTH

Andre

-- 
Andre von Raison


Relevant Pages

  • 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)
  • Re: Paul and Old Man: Cannot fix RAID5 failure ...
    ... I removed the drive reported in error, no boot or rebuild. ... I tried Universal Boot Disc but it won't load the RAID driver finaly ... I was considering a parallel WinXP installation on a 4th disk, ... I'll suggest trying with four drives and not three. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: New SATA hard drive not being detected
    ... powering on the PC (or doing a warm boot). ... Another possible problem is that the SATA controller may also be a RAID ... partition and format the disk. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problems with software RAID on SATA
    ... Connected to this are two 320GB drives ... >>which I want to turn into a RAID1 array. ... >>I'm almost certain it's a problem with initting the RAID arrays at boot. ...
    (Debian-User)
  • Re: RAID Help!!
    ... >> the primary drive that the PC boots from fails, how do you tell it to ... > If it does not boot, you didn't have Raid 0 working. ... his system using disk labels) he just has to unplug the broken disk to ...
    (linux.redhat.misc)