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: Morten Christensen <mc-xen@xxxxx>
Date: Tue, 23 May 2006 21:55:17 +0200
Delivery-date: Tue, 23 May 2006 12:55:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060523160655.GA16161@xxxxxxxxxxxx>
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> <20060523160655.GA16161@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 3.0a1 (Windows/20060514)
Steve Kemp skrev den 23-05-2006 18:06:
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
Thank you for your help and work. I have followed both steps in the writeup. Unfortunately the loop-files in /dev does not survive a reboot.

Now I have put the mknod-line from your writeup in the start of /etc/init.d/xend and then it works.


--
Morten Christensen



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

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