Hi there, I'm using xen-3.0.2.2-86.1_rhel4.1 on a Redhat AS 4 update 1 for i386. When I create a new domU with the following conf file, everything is ok: ##BEGINNING## kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1" ramdisk = "/boot/initrd-2.6.16-xen3_86.1_rhel4.1.img" builder='linux' memory = 1024 name = "myvm" vcpus = 8 vif = [ 'mac=00:16:3E:6C:54:FE, bridge=xenbr0' ] disk = [ 'phy:vg02/lvol0,sda7,w' ] disk = [ 'phy:sda6,sda6,w' ] dhcp="dhcp" hostname= "myvm" root = "/dev/sda6 rw" extra = "4" ##END## However, when I change the order of the two "disk" statements ([ 'phy:sda6,sda6,w' ] first and [ 'phy:vg02/lvol0,sda7,rw' ] second), and try to create the new vm (xm create -c myvmconf), I get the usual output with this error at the end: ##BEGINNING## Loading ext3.ko module Creating root device Mounting root filesystem mount: error 6 mounting ext3 mount: error 2 mounting none Switching to new root switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel panic - not syncing: Attempted to kill init! ##END## Any ideas why it's happening? Maxim. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le Mon, Jun 12, 2006 at 11:09:05AM +0200, Maxim Rozin [maxim@benefit-tech.co.il] a écrit:> However, when I change the order of the two "disk" statements ([ > ''phy:sda6,sda6,w'' ] first and [ ''phy:vg02/lvol0,sda7,rw'' ] second), and try to > create the new vm (xm create -c myvmconf), I get the usual output with this > error at the end:I think you should put both of them in the same "disk" statemenbt : disk = [ ''phy:sda6,sda6,w'' , ''phy:vg02/lvol0,sda7,rw'' ] that''s how we do it there (with 2 LVM volumes) Dominique -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users