OpenVZ Forum


Home » General » Support » vps on lvm
vps on lvm [message #2939] Mon, 01 May 2006 20:21 Go to previous message
ferp2 is currently offline  ferp2
Messages: 29
Registered: May 2006
Junior Member
Hi,

I'm setting up a machine to test openvz, and would like to know how one might optimize raid and lvm in this scenario. The test machine runs two 9GB scsi disks.

My raid/lvm scenario so far is:

sdc
* sdc1 70MB
* sdc2 500MB
* sdc3 1GB
* sdc4 7.5GB

sdb
* sdb1 70MB
* sdb2 500MB
* sdb3 1GB
* sdb4 7.5GB

swap
* sdc2 and sdb2 ==> swap

raid 1
* sdc1 + sdb1 ==> raid0 /boot
* sdc3 + sdb3 ==> raid1 /
* sdc4 + sdb4 ==> raid2 lvm

The OpenVZ User's Guide recommends partitioning root and swap, and leaving the rest of the hard disk available as one partition, mounted on /vz. This one partition would be used by any number of virtual servers, depending on the size of the partition, of course.

My question is, would it be better to create, let's say, 1GB partitions on the lvm mounted to /vz1, /vz2, /vz3, etc, for each virtual server and then expand them accordingly?

Thanks

 
Read Message
Read Message
Read Message
Previous Topic: Warning: Unable to open an initial console
Next Topic: Disk quota on gentoo template
Goto Forum:
  


Current Time: Wed Nov 06 19:42:45 GMT 2024

Total time taken to generate the page: 0.03456 seconds