Odile Bénassy wrote:
Hello,Jacques, hello all!

I have set up a few vservers for hosting different web sites on the same
machine and keep a separate control of each, and so far I'm happy, thanks!

Time comes to get it running for the public, and as the server has a
RAID controler (it is Dell's Megaraid), I'm about to get a few disks
ordered.

The normal setup would be : 2 * 36 Go for the system, 3 * 73 or 4 * 73
for the data. Meaning the contents of /var, with the vservers in it.

If you've got the option of buying 4 disks, have you considered just
using software RAID 1?  You only end up with one disk's worth less space
than a 4 disk raid 5 set, but you gain an awful lot in terms of
stability and performance.

IMHO RAID controllers were a nice idea, but I've now seen two of them
simply shaft a raid set, and they were name brand, battery backed, etc.
One of them was only a RAID 1 set yet the controller still seemed to be
capable of getting its on-disk state so confused it would crash
(blocking all SCSI I/O after that) during a resync.  Even after
replacing the motherboard, backplanes, etc.

My advice for Dell systems is to pull the RAID key out, or at the very
least, disable write caching when you create the volumes in the BIOS.

So I would welcome any advice about what to purchase and how to use the
disks, especially if there is some verser peculiarities.

You might like to consider using the LVM for partitioning such a system.
It's generally more managable than a single massive filesystem.

With a system like that I'd normally set up a couple of 1-2GB partitions
on the root set, one for a root FS and the other for swap (or emergency
reinstall space), then just throw the rest of it into a single LVM
Volume Group.  Even if some of it is RAID 5 and some of it RAID 1, you
can easy control through LVM which physical volumes the partitions you
create live on, or move them later (without unmounting).

Sam.
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to