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@lists.xensource.com http://lists.xensource.com/xen-users
If you are using ZFS fuse, I dont think you would be able to use a FUSE filesystem for VM disks. On 12 October 2010 10:28, ma qiang <maqiang1984@gmail.com> wrote:> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ma qiang Sent: Tuesday, October 12, 2010 4:29 AM To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users
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@xenhive.com> 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@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *ma qiang > *Sent:* Tuesday, October 12, 2010 4:29 AM > *To:* xen-users@lists.xensource.com > *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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com] Sent: Tuesday, October 12, 2010 7:59 PM To: admin@xenhive.com Cc: xen-users@lists.xensource.com 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@xenhive.com> 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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ma qiang Sent: Tuesday, October 12, 2010 4:29 AM To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Oct 12, 2010 at 4:37 PM, David Markey <admin@dmarkey.com> wrote:> If you are using ZFS fuse, I dont think you would be able to use a FUSE > filesystem for VM disks. > >Actually you can. You just need a new-enough kernel (2.6.34 works, not really sure which is the lowest version that works). "Can" doesn''t mean you "should" though. While it''s "cool" for testing/development, for production purposes it might be better to have a separate zfs box acting as iscsi/nfs NAS. -- Fajar> On 12 October 2010 10:28, ma qiang <maqiang1984@gmail.com> wrote: > >> 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@lists.xensource.com http://lists.xensource.com/xen-users
You can always use btrfs and Ceph - Works great! It has all the things ZFS has, and due the fact opensoalris is freeze at the moment, maybe it is good to move to a linux native file system. On Wed, Oct 13, 2010 at 6:35 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Tue, Oct 12, 2010 at 4:37 PM, David Markey <admin@dmarkey.com> wrote: > >> If you are using ZFS fuse, I dont think you would be able to use a FUSE >> filesystem for VM disks. >> >> > Actually you can. You just need a new-enough kernel (2.6.34 works, not > really sure which is the lowest version that works). > "Can" doesn''t mean you "should" though. While it''s "cool" for > testing/development, for production purposes it might be better to have a > separate zfs box acting as iscsi/nfs NAS. > > -- > Fajar > > > >> On 12 October 2010 10:28, ma qiang <maqiang1984@gmail.com> wrote: >> >>> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 13, 2010 at 6:43 AM, Sassy Natan <sassyn@gmail.com> wrote:> You can always use btrfs and Ceph - Works great! > > It has all the things ZFS hasunline ZFS, Ceph is a distributed filesystem. there''s also rbd, a shared block layer integrated with Ceph, right now the main objective is to enable KVM migration, but i guess Xen could benefit from that too. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users