WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] NBD, GNBD, or NFS, and where to use LVM?
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Steven McCoy <fnjordy@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>