Benoit St-Pierre schrieb:
I'm in the planning stages of setting up a file server and am considering
using RAID.

My concern is that my drive sizes are mixed. I have two 500GB SATA drives, a
320GB IDE and a 250GB IDE.

I would like to set these up so that the maximum amount of disk space is
usable, but still be able to recover from any one drive failing. I would
also like to be able to add drives of any size as easily as possible.


I can think of two ways:

1. RAID1 over those 2 SATAs + RAID1 over the IDEs, then an LVM on top of both. This wastes 70GB and uses a total of 750GB for redundancy. New disks can be added in increments of two (forming a new RAID1 which is then added to the LVM volume group)

2. Linear or RAID0-arrangement over the two IDEs, RAID5 over this RAID and the other two disks.
This wastes 70GB, too and uses a total of 500GB for redundancy.

Note1: NEVER EVER build some kind of RAID other than "Linear" (also called JBOD) over two IDE disks on the same cable. Performance will suffer greatly as will security because most simple onboard controllers can't handle a dying disk and that one might take the other one with it into death.

Note2: RAID-autodetection doesn't always work with RAIDs over RAIDs. It is better to deactivate RAID-autodetection and tell the kernel directly which devices shall be created in which order. See: /usr/src/linux/Documentation/md.txt


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to