From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: dynamically allocating loopback devices? Date: Fri, 11 Mar 2005 14:18:43 -0800 Message-ID: References: Reply-To: Kip Macy Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: 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: Ian Pratt Cc: xen-devel@lists.sourceforge.net, ian.pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org I was confused by the fact that xm insists on it being present in DOM0. disk = [ 'file:/u/kmacy/mdroot-5.3,xbd0,w' ] kmacy@shemp sh -x ~/xentmp/xenargs.shemp + xm create -f /u/kmacy/xentmp/freebsd.shemp -c name=xen-vm2.lab.netapp.com vmid=10 kernel=/u/kmacy/kernel Using config file "/u/kmacy/xentmp/freebsd.shemp". Error: Error creating domain: vbd: Device not found: xbd0 Thanks. -Kip On Fri, 11 Mar 2005 22:09:04 -0000, Ian Pratt wrote: > > That allows me to bypass the losetup, but what about device > > allocation? - the examples I see all look like > > disk = [ 'file:/u/kmacy/mdroot-5.3,loop7,w' ] > > file: does do the loop device allocation. The second parameter is the > device you want the vbd to appear in the guest as, i.e. usually sda1 or > hda1. > > Ian > ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click