1 |
On Thu, 2006-03-02 at 17:19 +0100, Marton Gabor wrote: |
2 |
> Hi! |
3 |
> |
4 |
> Thank you all for the fast replies, you helped me a lot. Unfortunately |
5 |
> we cannot afford a HW RAID card, so I have to make it with software RAID. |
6 |
> Now I have the idea to use RAID5 and if I get the picure rigth I need |
7 |
> let's say a ~100MB /boot in RAID1, 512MB swap not in RAID on every disk, |
8 |
> and I can build a RAID5 from the rest of the storage space, and will be |
9 |
> able to use 750GB-(/boot*4)-(swap*4) and the 4th HD will store the |
10 |
> so-called parity information. |
11 |
Not quite. |
12 |
With Raid3 and Raid4 the parity is stored on an extra disk, so you have: |
13 |
[data][data][data][data][parity] |
14 |
|
15 |
Raid5 spread the parity across all disks, so loss of any single disk |
16 |
will not cause any data loss. The data on that disk can be rebuilt |
17 |
easily, but two disk failures are fatal. |
18 |
Example for a 4-disk raid5: (d=data, P=parity) |
19 |
1234 |
20 |
dddP |
21 |
ddPd |
22 |
dPdd |
23 |
Pddd |
24 |
... |
25 |
So with 4 disks you get 3 capacity, but there is no dedicated place for |
26 |
parity! |
27 |
-- |
28 |
Stand still, and let the rest of the universe move |