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

Re: Help (advice) setting up RAID



--- fbrian@nac.net wrote:
> Hi:
> 
> I am interested in setting up RAID 1 on my system.
> After reading through the Doc's:
> 
> There really is no great reason to run Swap partitions on raid
> correct?
> 
> The /, /boot, /usr , ... should all be RAID 1? ( I don't have enough
> drives
> to run RAID 5)
> 
> Would you mix RAID 0 and RAID 1 ?; If so what type of date would let
> run on RAID 0 partition?  RAID 0 is not mirrored...??
> 
> Thanks for any and all pointers.
> 
> Brian
> 

I'm just recovering my system, somehow my /etc and /var got corrupted
and I was unable to load my raided partitions on boot.  A couple of
things you may want to consider:

Raid1 is not the same thing a backup -- the corrupted files in /etc
were faithfully mirrored on all my disks!

Partitions are good!  /var getting corrupted didn't wipeout my /home.

I had /var as raid-0 (for speedier access).  Wrong choice, /var is too
valuable to risk on raid-0.  It's now on raid-1.

One thing that helped me get my system up again is that _all_ my drives
have a ~20M boot partition on hd?1, and a small rescue partition on
hd?2.  This way I'm never completely locked out when I swap drives
between systems.

I have /, /usr, /var, /home as raid-1 partitions, and stuff I don't
care if I lose, eg /usr/src and /mnt/mp3 as raid-0.  I don't have /boot
raided as I don't want to add any unnecessary complexity to the boot
process.

Swap doesn't need to be raided, the kernel will efficiently use all the
swap partitions you give it.  You can assign priorities in fstab.

Right now I'm setting up so my biggest & fastest drives are raided, and
I'm going to use a smaller slower drive for /tmp, swap, and a bunch of
ext3 external journals (is this a good idea?)

hth,
patrick.


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



Reply to: