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] /dev/loop on Debian Sid

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] /dev/loop on Debian Sid
From: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Tue, 23 May 2006 17:06:56 +0100
Delivery-date: Tue, 23 May 2006 09:07:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4473320F.6010606@xxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4473320F.6010606@xxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, May 23, 2006 at 06:02:23PM +0200, Morten Christensen wrote:
> I have Xen 3.0.2 running on Debian Unstable with a straightforward
> setup, mainly based on this howto
> http://www.debian-administration.org/articles/396.

  :)

> Google have pointed me to this solution:
> http://lists.xensource.com/archives/html/xen-users/2006-01/msg01302.html
> 
> That is, on the dom0-console I enter
> mknod /dev/loop8 b 7 8
> losetup /dev/loop8
> 
> to be able to start my domU's.
> 
> How can I get this done by the system itself (something in the
> xend-init-file might be a workaround) ?

  You shouldn't need to.

  The mknod will persist assuming you're running a static /dev, and
 if you're using a dynamic one you should have the correct devices
 created when you load the loop module.

  One think you should do is add the following to /etc/modprobe.d/loop

options loop max_loop=255

  This will allow you to have a lot of devices when loading the loop
 module, rather than the default of 8.

  See here for a quick writeup:

        http://www.steve.org.uk/Software/xen-tools/loopback.html

Steve
-- 
http://www.steve.org.uk/

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

<Prev in Thread] Current Thread [Next in Thread>