1 |
On Freitag 17 Oktober 2008, Wolfgang Liebich wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Alan McKinnon schrieb: |
5 |
> > On Wednesday 15 October 2008 15:13:45 Pintér Tibor wrote: |
6 |
> >>> I'm in the process of setting up a new private computer. I've bought |
7 |
> >>> one with two drives b/c I wanted to setup a RAID system - RAID1 for |
8 |
> >>> important partitions, RAID0 for scratch files maybe. |
9 |
> >>> Additionally I would like to use LVM2 --- on my work PC I've grown to |
10 |
> >>> like the flexibility of that. |
11 |
> >>> The Intel DQ35JO motherboard now supports some kind of mobo based RAID. |
12 |
> >>> Is it better to use this HW raid, or to ignore that and use only the |
13 |
> >>> linux kernel's software RAID. |
14 |
> >> |
15 |
> >> thats not hardware raid, it never was, it never will be. |
16 |
> > |
17 |
> > Rule of thumb: |
18 |
> > |
19 |
> > For any machine you buy to use at home, dump the on-board RAID and use |
20 |
> > Linux software raid instead. |
21 |
> > |
22 |
> > Reason: kernel raid works, that on-board crap doesn't |
23 |
> > Other reason: real hardware raid costs many times more than that entire |
24 |
> > computer you bought for home use |
25 |
> |
26 |
> OK - nearly everyone here (and at work, too) told me to forget the |
27 |
> onboard fake raid controller. So this is what I will do :-) |
28 |
> The RAID-Howto as well as the LVM howto are however woefully out of |
29 |
> date. I will try to work with the linux-raid website's info. |
30 |
|
31 |
the howtos on gentoo-wiki worked well for me. |
32 |
|
33 |
|
34 |
> - Put the root partition on another RAID1 (I thought about putting the |
35 |
> root filesystem into my LVM setup, too -- it is REALLY annoying if the |
36 |
> root partition get's to small), |
37 |
|
38 |
yeah, but if you have 20+ gb root is always big enough ;) AFAIK lvm kills |
39 |
barriers. You use raid for better data security. So using lvm is a bit.. |
40 |
contra productive. |
41 |
|
42 |
|
43 |
> - Build a RAID1 partition for the rest of the system (will be a LVM2 |
44 |
> container) |
45 |
> - Build a last RAID0 partition for scratch data (/tmp, /var/tmp, |
46 |
> /usr/portage, scratch data). |
47 |
|
48 |
I have /tmp and /var/tmp on tmpfs - /tmp is so small it is not worth wasting a |
49 |
partition for it. |