[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Physical disks + Software Raid + lvm in domU


  • To: "Alessandro R." <lord2y@xxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Sat, 01 Mar 2008 11:24:51 +0000
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Francesco Polzella <f.polzella@xxxxxxxx>
  • Delivery-date: Sat, 01 Mar 2008 03:20:19 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=MsXGAlJYwX/8v28rTHafg5n2Q6aXBBly2rbL0tal5jm6nUKSBmzu66XIeD1PIFbIKybsfsSbQqOIjr/B84iXXRruAOQ8v7yDrAw3JhQAfCz2cnC+fAcQBFu7nnflIanLY3b9oO7kTaNG7EZue49BrZiRCm4/RrtveiRCNhXODFs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Alessandro R. wrote:
2008/2/27, Francesco Polzella <f.polzella@xxxxxxxx>:
Hi,

Hi,

 I'm trying to setup my box as described below:

 - The Dom0 exports two disks as physical devices to the DomU
 - DomU use the two devices to assemble a software raid device (/dev/md0)
 - On the /dev/md0  I create a lvm volume group and lvm volumes on it.

I have the same setup. Which distro do you use?

 Everything seems to work fine if the lvm volumes on the DomU are lightly
 used. Under heavy load the DomU freeze up immediately.
 The i/o tests are performed with bonnie++

Can you post the exact command that you run to perform test with bonnie++?
I'm trying bonnie with this command:

#bonnie -html -m vpstest -s 1000 > vpstest-bonnie.html

in HVM environment with gentoo selinux installed and all seem to works fine.
(I have 3 vps running - 2 linux and 1 windows).

When it finishes I will try with bonnie++ and then I will post the result.

Regards
OK. There is just no reason to do RAID in a Xen virtualized environment unless you're testing out a driver. Let the Dom0 do all that work, because it's already managing the disk IO anyway. LVM to merge together different partitions or disks, and exporting an LVM partition for the DomU should and does work just fine.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.