From: Steve Traugott Subject: Re: AFS-based VBD backend Date: Thu, 23 Dec 2004 03:18:15 -0800 Message-ID: <20041223111815.GD5895@spirit.terraluna.org> References: <20041223085558.GA29827@terraluna.org> <20041223103717.GA21603@nsk.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20041223103717.GA21603@nsk.no-ip.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Luciano Miguel Ferreira Rocha , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On Thu, Dec 23, 2004 at 10:37:17AM +0000, Luciano Miguel Ferreira Rocha wro= te: > On Thu, Dec 23, 2004 at 12:55:58AM -0800, Steve Traugott wrote: > > Q: Why not just use a loop device on top of AFS, with the 'file:'=20 > > VBD type? > > A: Loop devices on top of AFS files hang with large volumes of=20 > > I/O -- looks like a deadlock of some sort (in my tests, a dd of > > around 2-300 Mb into an AFS-based loop device appears to > > consistently hang the kernel, even with a 500Mb or larger AFS > > cache). In addition, an unmodified loop.c will not fsync() the > > underlying file; changes won't get written back to the AFS server > > until loop teardown. I've added an fsync() to the worker thread of > > loop.c to take care of this every few seconds; that seems to work > > but I can't really stress test it much because of the hang problem. > > What did I miss? ;-) >=20 > That it's already possible to use normal files. :) >=20 > So, no need for explicit support in xen. If your dom0 already knows and > uses afs, just specify the file in the xen configuration: >=20 > disk =3D [ 'file:/afs/file,sda1,w' ] Already covered in the above FAQ answer. ;-) The 'file:...' VBD type just uses the loop device driver underneath. Won't work on top of AFS. Steve --=20 Stephen G. Traugott (KG6HDQ) UNIX/Linux Infrastructure Architect, TerraLuna LLC stevegt@TerraLuna.Org=20 http://www.stevegt.com -- http://Infrastructures.Org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/