From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuAxs-0003IZ-08 for qemu-devel@nongnu.org; Tue, 12 Dec 2006 11:58:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuAxo-0003FS-Au for qemu-devel@nongnu.org; Tue, 12 Dec 2006 11:58:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuAxo-0003FL-1l for qemu-devel@nongnu.org; Tue, 12 Dec 2006 11:58:44 -0500 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuAxn-0006PE-VD for qemu-devel@nongnu.org; Tue, 12 Dec 2006 11:58:44 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: NBD server for QEMU images Date: Tue, 12 Dec 2006 16:58:32 +0000 References: <20061212124803.47702.qmail@web52708.mail.yahoo.com> <56d259a00612120537g5396ae0aif7bb3a84211f7975@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612121658.34017.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Salvador Fandino On Tuesday 12 December 2006 17:00, Salvador Fandino wrote: > Martin Guy wrote: > >> The patch available from http://qemu-forum.ipi.fi/viewtopic.php?t=2718 > >> adds a new utility, qemu-nbds, that implements a NBD server > > > > I have been using nbd volumes mounted from inside qemu for filestore > > and for swap, both read-write, served from files and from partitions, > > with the unmodified standard nbd-server (debian testing version) for > > intensive work and it has been faster and more reliable than NFS (not > > that that's saying much). > > > > The only thing that doesn't work is the -swap option, which just > > hangs, but that proves not to be necessary when swapping onto nbd host > > volume from qemu-land, even when stress-testing it. > > > > What problem is solved by a specially modified nbd server? > > It serves disk images in any format QEMU can handle, for instance, qcow > images. > > It's mostly intended to be used for accessing the files inside QEMU disk > images locally, without having to launch a virtual machine and accessing > then from there. mount -o loop does this. Paul