WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] change file: to tap:aio

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] change file: to tap:aio
From: Tait Clarridge <tait@xxxxxxxxxx>
Date: Tue, 13 Sep 2011 10:52:31 -0400
Delivery-date: Tue, 13 Sep 2011 07:53:27 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=taiter.com; s=default; h=Mime-Version:Message-ID:Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:To:From:Subject; bh=/Mc7u28+df4tLo/dZPDbxnaEJNAhSpoIbHuykUV9Nyw=; b=kF6TIwP580+lqWbFnENY2MqSXHaPbqCtfylfkDFLE8n3y4tmntk7CCDmOLP+sdzk8sBitMSnkOSkmGV5uhGpFvGT8cSNYxs+TBZ5N8nacjgDpPEoUyJe0M4qkoP1zvP7;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E6F6BC7.2020207@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E6F6BC7.2020207@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2011-09-13 at 16:42 +0200, Sebastian Biedermann wrote:
> Dear List,
> 
> I try to start a guest instance on hardware node-2 and the image is 
> located on hardware node-1.
> The plan is to do live migration between the two nodes in later steps.
> For this, I configured a NFS server on node-1 dom0 which provides the 
> image and I mount the filesytem on dom0 node-2.
> 
> I found out, that booting the instance remotley on node-2 using
> 
> disk = ['file:/xen/XenGuest1.img,xvda1,w', 'file:/xen/XenGuest1.swap,xvda2,w']
> 
> in the cfg file is not working, because I have to use 'tap:aio:' instead 
> of 'file:'
> 
> I can boot the instance locally on node-1 using the 'file:' 
> configuration, but not remotely on node-2.
> If I do, I get the error during the boot process on node-2: 'Device 
> 51714 (vbd) could not be connected losetup /dev/loop  failed'
> I was not able to find out what is going on there or to fix this (there 
> are enough free loop devices).
> 
> Accordingly, I changed the cfg file to:
> 
> disk = ['tap:aio:/xen/XenGuest1.img,xvda1,w', 
> 'tap:aio:/xen/XenGuest1.swap,xvda2,w']
> 
> But now, I cannot boot it locally and also not remotley. The boot 
> process hangs with the Error:
> 
> XENBUS: Waiting for devices to initialise: 295s...
> 
> Can anyone please give me advice?
> Thank you!!!
> 

Try adding the following to /etc/modprobe.conf :

options loop max_loop=256
 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users