Hi folks, Debian Etch - host and guest. I''m only allowed running 6 domUs simulataneously. On starting the 7th domU it complains; $ sudo xm create /etc/xen/xen7.satimis.com.cfg Using config file "/etc/xen/xen7.satimis.com.cfg". Error: Device 769 (vbd) could not be connected. Failed to find an unused loop device. $ ls /dev/loop/* /dev/loop/0 Please advise how to fix the problem. TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Each guest uses at least two loop devices. Modify or create /etc/modprobe.d/local-loop and add this line: options loop max_loop=64 With 64 loop devices you can run up to 32 guests on your host, assuming you aren''t using loop devices for any other purposes. cheers Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen Liu:> Hi folks, > > > Debian Etch - host and guest. > > > I''m only allowed running 6 domUs simulataneously. On starting the 7th > domU it complains; > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > Using config file "/etc/xen/xen7.satimis.com.cfg". > Error: Device 769 (vbd) could not be connected. Failed to find an > unused loop device. > > > $ ls /dev/loop/* > /dev/loop/0 > > > Please advise how to fix the problem. TIA > > > B.R. > Stephen L > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dominik Vogt Informatikbetreuer Universität Bern Institut für medizinische Lehre (IML) Abteilung für Assessment und Evaluation (AAE) Inselspital 37a CH-3010 Bern Phone: 031 632 3584 Mail: dominik.vogt@iml.unibe.ch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote:> Each guest uses at least two loop devices. Modify or > create /etc/modprobe.d/local-loop and add this line: > > options loop max_loop=64Hi Dominik, Thanks for your advice. I don''t have this file on /etc/modprobe.d/ $ locate local-loop No printout Where can I find this file? TIA B.R. Stephen> > With 64 loop devices you can run up to 32 guests on your host, > assuming > you aren''t using loop devices for any other purposes. > > cheers > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen Liu: > > Hi folks, > > > > > > Debian Etch - host and guest. > > > > > > I''m only allowed running 6 domUs simulataneously. On starting the > 7th > > domU it complains; > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > > Using config file "/etc/xen/xen7.satimis.com.cfg". > > Error: Device 769 (vbd) could not be connected. Failed to find an > > unused loop device. > > > > > > $ ls /dev/loop/* > > /dev/loop/0 > > > > > > Please advise how to fix the problem. TIA > > > > > > B.R. > > Stephen L > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > -- > Dominik Vogt > Informatikbetreuer > Universität Bern > Institut für medizinische Lehre (IML) > Abteilung für Assessment und Evaluation (AAE) > Inselspital 37a > CH-3010 Bern > > Phone: 031 632 3584 > Mail: dominik.vogt@iml.unibe.ch >Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu:> --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote:> > I don''t have this file on /etc/modprobe.d/So you have to create it :-) you can also name the file "xen" or what ever. After this you just have to do rmmod loop modprobe loop cheers> B.R. > Stephen > > > > > > With 64 loop devices you can run up to 32 guests on your host, > > assuming > > you aren''t using loop devices for any other purposes. > > > > cheers > > > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen Liu: > > > Hi folks, > > > > > > > > > Debian Etch - host and guest. > > > > > > > > > I''m only allowed running 6 domUs simulataneously. On starting the > > 7th > > > domU it complains; > > > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > > > Using config file "/etc/xen/xen7.satimis.com.cfg". > > > Error: Device 769 (vbd) could not be connected. Failed to find an > > > unused loop device. > > > > > > > > > $ ls /dev/loop/* > > > /dev/loop/0 > > > > > > > > > Please advise how to fix the problem. TIA > > > > > > > > > B.R. > > > Stephen L > > > > > > Send instant messages to your online friends > > http://uk.messenger.yahoo.com > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > -- > > Dominik Vogt > > Informatikbetreuer > > Universität Bern > > Institut für medizinische Lehre (IML) > > Abteilung für Assessment und Evaluation (AAE) > > Inselspital 37a > > CH-3010 Bern > > > > Phone: 031 632 3584 > > Mail: dominik.vogt@iml.unibe.ch > > > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dominik Vogt Informatikbetreuer Universität Bern Institut für medizinische Lehre (IML) Abteilung für Assessment und Evaluation (AAE) Inselspital 37a CH-3010 Bern Phone: 031 632 3584 Mail: dominik.vogt@iml.unibe.ch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote:> Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu: > > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > > > I don''t have this file on /etc/modprobe.d/ > > So you have to create it :-) you can also name the file "xen" or what > ever. After this you just have to do > > rmmod loop > modprobe loopPerformed following steps; # vi /etc/modprobe.d/xen adding following line; options loop max_loop=64 # rmmod -v loop ERROR: Module loop does not exist in /proc/modules # modprobe loop FATAL: Module loop not found. # grep -i loop /boot/config-`uname -r` CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_XEN_NETDEV_LOOPBACK=y loop is not a module. What can I do? TIA B.R. Stephen L> > > > > > With 64 loop devices you can run up to 32 guests on your host, > > > assuming > > > you aren''t using loop devices for any other purposes. > > > > > > cheers > > > > > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen Liu: > > > > Hi folks, > > > > > > > > > > > > Debian Etch - host and guest. > > > > > > > > > > > > I''m only allowed running 6 domUs simulataneously. On starting > the > > > 7th > > > > domU it complains; > > > > > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > > > > Using config file "/etc/xen/xen7.satimis.com.cfg". > > > > Error: Device 769 (vbd) could not be connected. Failed to find > an > > > > unused loop device. > > > > > > > > > > > > $ ls /dev/loop/* > > > > /dev/loop/0 > > > > > > > > > > > > Please advise how to fix the problem. TIA > > > > > > > > > > > > B.R. > > > > Stephen L > > > > > > > > Send instant messages to your online friends > > > http://uk.messenger.yahoo.com > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > -- > > > Dominik Vogt > > > Informatikbetreuer > > > Universität Bern > > > Institut für medizinische Lehre (IML) > > > Abteilung für Assessment und Evaluation (AAE) > > > Inselspital 37a > > > CH-3010 Bern > > > > > > Phone: 031 632 3584 > > > Mail: dominik.vogt@iml.unibe.ch > > > > > > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > -- > Dominik Vogt > Informatikbetreuer > Universität Bern > Institut für medizinische Lehre (IML) > Abteilung für Assessment und Evaluation (AAE) > Inselspital 37a > CH-3010 Bern > > Phone: 031 632 3584 > Mail: dominik.vogt@iml.unibe.ch >Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Boris Quiroz <borisq22@gmail.com> wrote:> 2008/9/25 Stephen Liu <satimis@yahoo.com>: > > > > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > >> Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu: > >> > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > >> > >> > > >> > I don''t have this file on /etc/modprobe.d/ > >> > >> So you have to create it :-) you can also name the file "xen" or > what > >> ever. After this you just have to do > >> > >> rmmod loop > >> modprobe loop > > > > > > Performed following steps; > > > > > > # vi /etc/modprobe.d/xen > > adding following line; > > options loop max_loop=64 > > > > > > # rmmod -v loop > > ERROR: Module loop does not exist in /proc/modules > > > > > > # modprobe loop > > FATAL: Module loop not found. > > > > > > # grep -i loop /boot/config-`uname -r` > > CONFIG_BLK_DEV_LOOP=y > > CONFIG_BLK_DEV_CRYPTOLOOP=m > > CONFIG_XEN_NETDEV_LOOPBACK=y > > > > > > loop is not a module. What can I do? TIA > > > > > > B.R. > > Stephen L > > > > > >> > > > >> > > With 64 loop devices you can run up to 32 guests on your host, > >> > > assuming > >> > > you aren''t using loop devices for any other purposes. > >> > >- snip -> > If you''re using a debian-based distro, the file you''re looking for > uis > /etc/modules > There you must add the line loop max_loop=64 and then load the > module. > > cheers.Hi Boris, Thanks for your advice. Debian Etch Performed following steps. # vi /etc/modules There is only one word "loop" there. changing it as; loop max_loop=64 # modprobe modules FATAL: Module modules not found. # modprobe /etc/modules FATAL: Module /etc/modules not found. # depmod -a # modprobe modules FATAL: Module modules not found. # insmod modules insmod: can''t read ''modules'': No such file or directory # insmod /etc/modules insmod: error inserting ''/etc/modules'': -1 Invalid module format Reboot PC. # /etc/init.d/module-init-tools restart Loading kernel modules...done. Still can''t solve the problem. Only 4 domU can be started. # xm create /etc/xen/xen5.satimis.com.cfg Using config file "/etc/xen/xen5.satimis.com.cfg". Error: Device 770 (vbd) could not be connected. Failed to find an unused loop device B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you could pass it as an option to your kernel at boot time, if you use grub, add max_loop=64 at the end of your kernel line, then reboot the server and look how much devices are declared in /dev/loop* JM. 2008/9/25 Stephen Liu <satimis@yahoo.com>> > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu: > > > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > > > > > > I don''t have this file on /etc/modprobe.d/ > > > > So you have to create it :-) you can also name the file "xen" or what > > ever. After this you just have to do > > > > rmmod loop > > modprobe loop > > > Performed following steps; > > > # vi /etc/modprobe.d/xen > adding following line; > options loop max_loop=64 > > > # rmmod -v loop > ERROR: Module loop does not exist in /proc/modules > > > # modprobe loop > FATAL: Module loop not found. > > > # grep -i loop /boot/config-`uname -r` > CONFIG_BLK_DEV_LOOP=y > CONFIG_BLK_DEV_CRYPTOLOOP=m > CONFIG_XEN_NETDEV_LOOPBACK=y > > > loop is not a module. What can I do? TIA > > > B.R. > Stephen L > > > > > > > > > > With 64 loop devices you can run up to 32 guests on your host, > > > > assuming > > > > you aren''t using loop devices for any other purposes. > > > > > > > > cheers > > > > > > > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen Liu: > > > > > Hi folks, > > > > > > > > > > > > > > > Debian Etch - host and guest. > > > > > > > > > > > > > > > I''m only allowed running 6 domUs simulataneously. On starting > > the > > > > 7th > > > > > domU it complains; > > > > > > > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > > > > > Using config file "/etc/xen/xen7.satimis.com.cfg". > > > > > Error: Device 769 (vbd) could not be connected. Failed to find > > an > > > > > unused loop device. > > > > > > > > > > > > > > > $ ls /dev/loop/* > > > > > /dev/loop/0 > > > > > > > > > > > > > > > Please advise how to fix the problem. TIA > > > > > > > > > > > > > > > B.R. > > > > > Stephen L > > > > > > > > > > Send instant messages to your online friends > > > > http://uk.messenger.yahoo.com > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > -- > > > > Dominik Vogt > > > > Informatikbetreuer > > > > Universität Bern > > > > Institut für medizinische Lehre (IML) > > > > Abteilung für Assessment und Evaluation (AAE) > > > > Inselspital 37a > > > > CH-3010 Bern > > > > > > > > Phone: 031 632 3584 > > > > Mail: dominik.vogt@iml.unibe.ch > > > > > > > > > > > > > Send instant messages to your online friends > > http://uk.messenger.yahoo.com > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > -- > > Dominik Vogt > > Informatikbetreuer > > Universität Bern > > Institut für medizinische Lehre (IML) > > Abteilung für Assessment und Evaluation (AAE) > > Inselspital 37a > > CH-3010 Bern > > > > Phone: 031 632 3584 > > Mail: dominik.vogt@iml.unibe.ch > > > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--- Jean-Michel Bonnefond <pompon2@gmail.com> wrote:> I think you could pass it as an option to your kernel at boot time, > if you > use grub, add > max_loop=64 > at the end of your kernel line, then reboot the server and look how > much > devices are declared in /dev/loop* > > JM.Hi Jean-Michel, Thanks for your advice. It works for me. Steps performed as follows; 1) Re-edit /etc/modules reverting the content to its original state. 2) Reboot PC At boot on the menu press "e" -> highlight kernal line, then pressing ''e" again -> adding max_loop=64 at the end of the line -> Enter -> press "b" to boot. $ ls /dev/ | grep loop loop0 ... ... loop63 Approx how many domUs can be run concurrently on an AMD Dual-Core 2.6GHz PC with 4G Ram on board? All servers are headless, TIA B.R. Stephen> > 2008/9/25 Stephen Liu <satimis@yahoo.com> > > > > > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > > > Am Donnerstag, den 25.09.2008, 15:05 +0800 schrieb Stephen Liu: > > > > --- Dominik Vogt <dominik.vogt@iml.unibe.ch> wrote: > > > > > > > > > > > I don''t have this file on /etc/modprobe.d/ > > > > > > So you have to create it :-) you can also name the file "xen" or > what > > > ever. After this you just have to do > > > > > > rmmod loop > > > modprobe loop > > > > > > Performed following steps; > > > > > > # vi /etc/modprobe.d/xen > > adding following line; > > options loop max_loop=64 > > > > > > # rmmod -v loop > > ERROR: Module loop does not exist in /proc/modules > > > > > > # modprobe loop > > FATAL: Module loop not found. > > > > > > # grep -i loop /boot/config-`uname -r` > > CONFIG_BLK_DEV_LOOP=y > > CONFIG_BLK_DEV_CRYPTOLOOP=m > > CONFIG_XEN_NETDEV_LOOPBACK=y > > > > > > loop is not a module. What can I do? TIA > > > > > > B.R. > > Stephen L > > > > > > > > > > > > > > With 64 loop devices you can run up to 32 guests on your > host, > > > > > assuming > > > > > you aren''t using loop devices for any other purposes. > > > > > > > > > > cheers > > > > > > > > > > Am Donnerstag, den 25.09.2008, 14:37 +0800 schrieb Stephen > Liu: > > > > > > Hi folks, > > > > > > > > > > > > > > > > > > Debian Etch - host and guest. > > > > > > > > > > > > > > > > > > I''m only allowed running 6 domUs simulataneously. On > starting > > > the > > > > > 7th > > > > > > domU it complains; > > > > > > > > > > > > $ sudo xm create /etc/xen/xen7.satimis.com.cfg > > > > > > Using config file "/etc/xen/xen7.satimis.com.cfg". > > > > > > Error: Device 769 (vbd) could not be connected. Failed to > find > > > an > > > > > > unused loop device. > > > > > > > > > > > > > > > > > > $ ls /dev/loop/* > > > > > > /dev/loop/0 > > > > > > > > > > > > > > > > > > Please advise how to fix the problem. TIA > > > > > > > > > > > > > > > > > > B.R. > > > > > > Stephen L > > > > > > > > > > > > Send instant messages to your online friends > > > > > http://uk.messenger.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > > > Xen-users mailing list > > > > > > Xen-users@lists.xensource.com > > > > > > http://lists.xensource.com/xen-users > > > > > -- > > > > > Dominik Vogt > > > > > Informatikbetreuer > > > > > Universität Bern > > > > > Institut für medizinische Lehre (IML) > > > > > Abteilung für Assessment und Evaluation (AAE) > > > > > Inselspital 37a > > > > > CH-3010 Bern > > > > > > > > > > Phone: 031 632 3584 > > > > > Mail: dominik.vogt@iml.unibe.ch > > > > > > > > > > > > > > > > > Send instant messages to your online friends > > > http://uk.messenger.yahoo.com > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > -- > > > Dominik Vogt > > > Informatikbetreuer > > > Universität Bern > > > Institut für medizinische Lehre (IML) > > > Abteilung für Assessment und Evaluation (AAE) > > > Inselspital 37a > > > CH-3010 Bern > > > > > > Phone: 031 632 3584 > > > Mail: dominik.vogt@iml.unibe.ch > > > > > > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users