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] max loop xen 3.0.4

Hi Franck,

i've installed a new server with ubuntu 6.06.1 LTS and xen 3.0.4 (32 bit
PAE SMP from http://www.xensource.com/download/dl_304tarballs.html)

Boot work fine but i've a little problem with max loop.
I've put max loop in /boot/grub/menu.lst but DMESG say only 8 loop :(

title Xen 3.0.4 / XenLinux 2.6
root            (hd0,0)
kernel          /xen-3.gz dom0_mem=131072 max_loop=128
module          /vmlinuz-2.6-xen root=/dev/md1 ro console=tty0 vga=0x316
watchdog
module          /initrd.img-2.6.16-xen

Put the max_look directive rather on the first module line:

module /vmlinuz-2.6-xen [...] vga=0x316 max_loop=128

It will be perhaps necessary to create the files /dev/loop<n>. If so, modify /dev/MAKEDEV in order to create them:

Replace:

  loop)
                for part in 0 1 2 3 4 5 6 7
                do
                        makedev loop$part b 7 $part $disk
                done
                ;;

By:

        loop)
                for part in `seq 0 63`  # change 63 to (max_loop - 1)
                do
                        makedev loop$part b 7 $part $disk
                done
                ;;

Then, "cd /dev ; ./MAKEDEV loop".

NB: I don't know for ubuntu but some distros can not handle more than 96 loops.

BTW, I strongly suggest to use LVM rather than FS image files if you have the intention to manage several DomUs in an production environment.

HTH

Regards,
--
Olivier Le Cam
Département des Technologies de l'Information et de la Communication
CRDP de l'académie de Versailles

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