On Wed, 2006-05-17 at 15:34 -0700, Jason Martin wrote:
> On Wed, May 17, 2006 at 03:19:42PM -0700, k a wrote:
> >   i want to boot redhat linux through the ide drive and put
> >   the 6 sata  disks on the same raid 5 array. is it possible
> >   or do i have to build  two raid 5 arrays. and lets say the
> >   hardisk ide that i am using to boot  up dies, would it be
> >   possible to recover the array or should i do  software raid
> >   1 with the ide drive so use two ide drive incase one dies.
> If you use the hardware RAID controller, you can put all the
> drives in one raid-5, and still be able to boot if one disk
> fails. The 'boot disk' would be the array, so no one disk in the
> array would be responsible for booting.
Running software raid5 always require some tricks since you need to load
the driver from the disk before you can read the disk.
What I did is that I created a small mirrored (raid1) partition for /
and then the rest is raid5. the odd partitions left over from boot I
added up and made a swap from. I have the basic / but you actually just
need /boot in a single/mirrored partition, once the kernel is loaded
from /boot the raid5 is working.

Option A
sda1:  100Mb,  type fd: linux autoraid
sdb1:  100Mb,  type fd: linux autoraid
/dev/md0: sda1 & sdb1 in raid1

sdc1: 100mb
sdd1: 100mb
sde1: 100mb
sdf1: 100mb
could add them to /tmp or swap

sd{a,b,c,d,e,f}2: rest of disk, type fd: linux autoraid
/dev/md1: sd?2 in raid5

next step is to use that big storage and there I recommend to use lvm so
you can slice it up whatever way you find best.

Option B:
same as A bit sd?1 is 1G and contains / minus /var,/home,/usr,/opt,/tmp
and so on.



> 
> If you go with software raid-5, things are a little harder due
> to the need for linux to load the raid driver before it has
> access to the disks, which as you can imagine is a bit
> tricky. You'd probably make a partition on two disks that is
> mirrored, and add the rest to a RAID-5 array.
> 
> >   is it possible to do software raid 5 when the controller
> >   does not support it.
> Absolutely, but its slower.
> 
> -Jason Martin
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to