Mark M. Hoffman on 25 May 2007 04:06:34 -0000


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

Re: [PLUG] Linux (Debian) and raid


Hi Doug:

* Doug Crompton <doug@crompton.com> [2007-05-24 22:29:28 -0400]:
> Ok now that the linux OS question has been thrashed I have another
> question. Using Raid.
> 
> I have used raid on Windows - XP and now Vista with Intel and Gigabyte
> MB's and it worke fine. I would now like to do the same for Linux.
> 
> My question is how to do it. I did expermiment with it a little awhile
> back. Now I intend to get an intel MB that has onboard raid. I would like
> to use raid 1 - two drives mirrored.

For a home system, IMO you're better off just using software RAID rather than
hardware, for a few reasons...

1) Most onboard RAID controllers do most of the work in software anyway.

2) If your board dies, you'll have to replace it with one that has that
same controller.  With software RAID, any board that can connect to the
disks can be used in a pinch.

3) KNOPPIX will not get confused by any of that, just in case you have reason
to boot that instead of your normal install.

> This is quite easy to do in Windows because you are just dealing with one
> partitiion. In linux I have typically used 5 or 6 plus swap.
> 
> It would be nice to have everything on raid and be done with it. Would you
> put swap on raid? If not how would you deal with that?

I've done software RAID w/ CentOS.  I set it up like this:

/dev/hda1 and /dev/hdc1 => /dev/md0 (raid1) => /boot

/dev/hda2 => swap
/dev/hdc2 => swap

/dev/hda3 and /dev/hdc3 => /dev/md1 (raid1) => /dev/VolGroup00 (LVM)

The remaining partitions are allocated on the LVM volume.

> How do you bring a virgin system up on raid? Do you first install to one
> drive and then later on create a raid array? With Windows there is a
> driver and you create a raid array and load the OS. Quite easy actually.

The above layout was all pretty standard and easy w/ CentOS 5 installer.  I've
not tried it with any other distro, sorry.

> Has anyone done this with an onboard (intel) raid controller?

Like I said, not recommended.  Or just use it for more channels for software
RAID.

HTH,

-- 
Mark M. Hoffman
mhoffman@lightlink.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug