From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Any plan to support disk driver domain? Date: Fri, 21 Jun 2013 14:05:23 -0400 Message-ID: <20130621180523.GD15809@phenom.dumpdata.com> References: <51A483E5.9010302@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "G.R." Cc: xen-devel , Roger Pau =?iso-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Fri, Jun 21, 2013 at 11:26:43AM +0800, G.R. wrote: > On Tue, May 28, 2013 at 6:16 PM, Roger Pau Monn=E9 = wrote: > > On 04/04/13 12:26, G.R. wrote: > >> Hi developers, > >> I'm currently running a PVHVM freeNAS domU to serve storage (SATA > >> controller passed-through) to all other domUs. However, some issues are > >> observed in the network / NFS performance for the NAS domU. > >> I noticed that there is a blkback driver in freebsd which is documented > >> as capable to export disk to other domains, which looks very promising. > >> However, the wiki says that disk driver domain is not supported (at > >> least for now). > >> > >> I wonder if there is any plan to support such disk driver domain? It'll > >> be a great feature for my use case. > > > > I've added a tutorial that explains how to use storage driver domains > > with Xen 4.3, it contains a FreeBSD section that explains how to use ZFS > > ZVOLS as disk backends for other domains, see: > > > > http://wiki.xen.org/wiki/Storage_driver_domains > > > = > Hi Roger, > = > I just checked out your wiki page and it seems to be a fairly simple setu= p. > It looks like a miracle that the freebsd version does not require > those helper utils. > = > As I understand from what Daniel stated in his mail, the linux driver > domain would > rely on some hotplug scripts delivered with xen to hook up the connection. > I was imagining some similar sciprts will need to be hooked into > FreeBSD devd in similar manner. > How does it work without these? I'm not familiar with the FreeBSD kernel. > Also, does it has any assumption on the FreeBSD version? I'm on 8.3.1, > which is a kind of old but still PVHVM capable. > = > In your example, the driver is setup using zvol. I wonder if there are > any constraint prohibiting using a file based backend? > = > Finally, I saw this limitation in the wiki: > >> It is not possible to use driver domains with pygrub or HVM guests yet= , so it will only work with PV guests that have the kernel in Dom0. > While I can imagine why pygrub does not work, I don't understand the > reason HVM is affected here. Could you explain a little bit? > And what about a HVM with PV driver? (e.g. those windows guests) It needs the backends. That means you can do it with PVHVM or with PV guest= s. > = > Thanks, > Timothy > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > =