[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] /dev/loop on Debian Sid


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.