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

[Xen-users] NBD, GNBD, or NFS, and where to use LVM?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Steven McCoy <fnjordy@xxxxxxxxx>
  • Date: Thu, 6 Oct 2005 22:49:12 +0800
  • Delivery-date: Thu, 06 Oct 2005 14:46:53 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Z9hymmRBGKlExsqPDwAi82U1YOSGmq8gfe4gUwgjVWfsz1ny/rorX5dfTUVV3vNBQyO04bV0wzsVbMV4jhhXHagM1fBls0DNnvE8kjKoC2hHGdrbHna4o72BTHZ2LylGeQnH43jld8SJpF2rQGjL+QtOfJlpfJxCaJMzxzkU9/I=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

A good question to see in the FAQ.  I have a server running Xen with multiple domains, the storage is provided by a 1 TB array attached to another host.  The array is partitioned using LVM2.  What is the best or preferred way of running such a configuration?  The possibilities include:

1.  NBD to xen0, LVM2 on xen0, export volumes to xenUs.
2.  LVM2 on storage host, NBD to each xenU.
3.  GNBD to xen0, LVM2 on xen0, export volumes to xenUs.
4.  LVM2 on storage host, GNBD to each xenU.
5.  NFS from storage host to each xenU.


I'm running OpenAFS, Hula mail, Apache and MySQL of the exported volumes, none requiring raw disk support.

NBD would mean only one xen machine can use each device.  GNBD currently doesn't build for Xen 2.0.7 on Gentoo, because the CMAN kernel modules requires 2.6.12.  Unfortunately I only have 100mb network to the storage host, "hdparm -t" for NBD shows 8MB/s in xen0, 24MB/s on the storage host (its a firewire storage array).

--
Steve-o
_______________________________________________
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®.