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

RE: [Xen-users] Can I create domU on ZFS?

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Can I create domU on ZFS?
From: <admin@xxxxxxxxxxx>
Date: Tue, 12 Oct 2010 22:22:48 -0500
Delivery-date: Tue, 12 Oct 2010 20:24:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <AANLkTimhr6wTRdWV1RR+fiAp5eHCEnwDVojvAW2nti2E@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: admin@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Actqc5Ca6iznS/ISQ6ylY2Qi4q6KrAAEQwcg

There are some ports of ZFS for Linux that are works in progress.  They are not yet ready for production usage.

 

I realize some people have set up ZFS and a domU on the same Solaris server.  That can easily be done, but it is generally not a good idea.  Xen needs a lot of memory, and ZFS needs a lot of memory.  If you run both on the same box, you will most likely be memory starved.  Expect to use a minimum of at least 4GB of RAM for ZFS (preferably 12-48GB or more).

 

A better solution is to build a dedicated ZFS server (using OpenSolaris or OpenIndiana) and share the ZFS volume through a NFS share, and then have the Xen server (using Linux) use the NFS share as a storage repository.  That way you can max out the memory in both the Xen server and in the ZFS server.  It is also handy if you have multiple Xen servers and you want to live migrate a domU between those Xen servers.

 

-----Original Message-----
From: ma qiang [mailto:maqiang1984@xxxxxxxxx]
Sent:
Tuesday, October 12, 2010 7:59 PM
To: admin@xxxxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Can I create domU on ZFS?

 

Thanks for you reply.

I have found some people install zfs on Solaris, and create domU based on zfs successfully. However, I have only some computer on linux, so I want to do that on linux.

 

On Wed, Oct 13, 2010 at 1:05 AM, <admin@xxxxxxxxxxx> wrote:

ZFS tends to need a lot of resources.  For ZFS to really perform well, you need to dedicate a lot of RAM to it.  I am a huge fan of using ZFS in SAN or NAS solutions, but not directly on a virtualization node. 

 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ma qiang
Sent:
Tuesday, October 12, 2010 4:29 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can I create domU on ZFS?

 

Hi all,

    I have some computers run on linux, and I will install ZFS for them. Now I want to make a image or lv based on ZFS, then create domUs run on them. 

 

   Who can tell me if I am right.

 

Best Wishes

Qiang


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

 

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