Weblog entry #103 for Steve

Xen loop devices
Posted by Steve on Tue 23 May 2006 at 15:04
Tags: none.

If you're using loopback devices on your Xen host, then contrary to the documentation you must add the following to /etc/modprobe.d/loop:

options loop max_loop=255

This will mean when you run "modprobe loop" you'll see the following in the output of dmesg:

loop: loaded (max 255 devices)

Every single piece of documentation I've read suggests using the directory /etc/modutils but that just does not work.

 

Comments on this Entry

Posted by dkg (66.245.xx.xx) on Tue 23 May 2006 at 18:48
[ Send Message | View dkg's Scratchpad | View Weblogs ]
It depends on which kernel (and therefore which module infrastructure) you are using, i think. /etc/modutils should be the correct place for 2.4 kernels, while /etc/modprobe.d should be correct for 2.6 kernels.

more about this from debian-user during the somewhat bumpy 2.4 to 2.6 transition.

[ Parent | Reply to this comment ]

Posted by Steve (62.30.xx.xx) on Tue 23 May 2006 at 20:38
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Thanks for that explaination, that does help clarify things.

I guess that my suggestion above is going to be always true for Xen 3.x, since that mandates the use of the 2.6.x kernel.

Steve

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search