Hi Ralf,
to be sure that problem is related with loop devices, you can make the
following test:
- Create a vbd:
# dd if=/dev/zero of=/tmp/test.img bs=4k count=10000
# mkfs.ext3 /tmp/test.img
- Try to mount it, (with the 7 xen domU running)
# mkdir /mnt/test
# mount -o loop /tmp/test.img /mnt/test
With losetup command, you can check the loop devices, for example:
#losetup /dev/loop1
/dev/loop1: [0804]:11239436 (/xen/images/popeye.img)
In my dom0 kernels shows some messages about how many loop are avaliable:
# dmesg | grep -i loop
loop: loaded (max 255 devices)
Regards,
Marc
Ralf Jansen wrote:
Sorry, yes, here the translation.:
No matching Device found or no correkt address found.
Regards,
Ralf
*/mpatino@xxxxxxxxxxxx/* schrieb:
Hi Ralf,
can you translate
Kein passendes Gerät bzw. keine passende Adresse gefunden
sorry but I don't understand german.
Regards,
Marc
> Hi Marc,
> thank you. I create loop devices with:
>
> for ((i=8;i<=255;i+=1)); do mknod -m 660 /dev/loop$i b 7 $i; done
>
> and use the following /boot/grub/menu.lst:
>
> title XEN
> root (hd0,0)
> kernel /boot/xen.gz
> module /boot/vmlinuz-xen root=/dev/sda1 max_loop=255 dom0_mem=512M
> mem=16G vga=0x31a resume=/dev/sda3 splash=silent showopts
> module /boot/initrd-xen
>
> After rebooting i still have the same error-message:
>
> Using config file "/etc/xen/vm/c14".
> /dev/loop8: Kein passendes Gerät bzw. keine passende Adresse
gefunden
> Traceback (most recent call last):
> File "/usr/lib/xen/boot/domUloader.py", line 495, in ?
> main(sys.argv)
> File "/usr/lib/xen/boot/domUloader.py", line 481, in main
> setupDisks(disks)
> File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks
> setupOneDisk(disk)
> File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk
> wdisk = Wholedisk(cfg[1], physdev, loopfile)
> File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__
> self.pcount = self.scanpartitions()
> File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions
> self.loopsetup()
> File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup
> raise RuntimeError("domUloader: Failure setting up loop dev")
> RuntimeError: domUloader: Failure setting up loop dev
> Error: Boot loader didn't return any data!
> xen-Dom0-Backup:/dev #
>
> Regards,
> Ralf
>
>
> Marc Patino Gómez schrieb: Hi Ralf,
>
> you need more loop devices. So append this to dom0 kernel:
max_loop=255,
>
> if you are using grub, edit the menu.lst and put something like:
>
> kernel module /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro
> max_loop=255
>
> if you are using udev all will work all right, if not you
probably must
> create the devices: /dev/loopXX
>
> Regards,
>
> Marc
>
> Ralf Jansen wrote:
>> Hello,
>> i want to run 14 virtual Machines with xen. But i get the following
>> error-message:
>>
>>
>> xen-Dom0-Backup:/etc/xen/vm # xm list
>> Name ID Mem(MiB) VCPUs State Time(s)
>> Domain-0 0 14133 4 r----- 59.7
>> c10 8 254 1 -b---- 13.7
>> c2 1 254 1 -b---- 14.1
>> c3 2 254 1 -b---- 14.0
>> c5 3 254 1 ------ 14.0
>> c6 4 254 1 -b---- 14.0
>> c7 5 254 1 -b---- 13.9
>> c8 6 254 1 -b---- 13.9
>> c9 7 254 1 -b---- 13.9
>> xen-Dom0-Backup:/etc/xen/vm # xm create c14
>> Using config file "c14".
>> /dev/loop8: Datei oder Verzeichnis nicht gefunden
>> Traceback (most recent call last):
>> File "/usr/lib/xen/boot/domUloader.py", line 495, in ?
>> main(sys.argv)
>> File "/usr/lib/xen/boot/domUloader.py", line 481, in main
>> setupDisks(disks)
>> File "/usr/lib/xen/boot/domUloader.py", line 280, in setupDisks
>> setupOneDisk(disk)
>> File "/usr/lib/xen/boot/domUloader.py", line 272, in setupOneDisk
>> wdisk = Wholedisk(cfg[1], physdev, loopfile)
>> File "/usr/lib/xen/boot/domUloader.py", line 100, in __init__
>> self.pcount = self.scanpartitions()
>> File "/usr/lib/xen/boot/domUloader.py", line 127, in scanpartitions
>> self.loopsetup()
>> File "/usr/lib/xen/boot/domUloader.py", line 112, in loopsetup
>> raise RuntimeError("domUloader: Failure setting up loop dev")
>> RuntimeError: domUloader: Failure setting up loop dev
>> Error: Boot loader didn't return any data!
>>
>> Does someone know why i can not start more than 8 vms?
>> Here is my config-file:
>>
>> disk = [ 'phy:/dev/sdc14,hda2,w',
>> 'file:/mnt/swapspace/c14_swap.img,hda1,w' ]
>> memory = 254
>> vcpus = 1
>> name = 'c14'
>> vif = [ 'mac=00:16:3e:1b:90:14' ]
>> localtime = 1
>> on_poweroff = 'destroy'
>> on_reboot = 'restart'
>> on_crash = 'restart'
>> extra = ' TERM=xterm'
>> bootloader = '/usr/lib/xen/boot/domUloader.py'
>> bootentry = 'hda2:/boot/vmlinuz-xen,/boot/initrd-xen'
>>
>>
>> Thank you,
>> r. jansen
>>
>>
------------------------------------------------------------------------
>> Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail
>> .
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>
> ---------------------------------
> BE A BETTER HEIMWERKER: Jetzt Frage stellen und einen von 44 iPods
> gewinnen! _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
------------------------------------------------------------------------
Was Sie schon immer wissen wollten aber nie zu Fragen trauten? Yahoo!
Clever
<http://de.rd.yahoo.com/xx/searchpromo/i/tagline/cleverfp/*http://de.answers.yahoo.com>
hilft Ihnen.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|