[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xen, guest won't start, "Hotplug scripts not working"



On Sun, Apr 26, 2009 at 10:18 AM,  <gcrimp@vcn.bc.ca> wrote:
> Hi,
>
> I'm trying to use xen for the first time.  This box is running a recent
> install of Lenny.
>
> I've reading web howtos, the man pages and user.pdf, so it could be that I
> am mixing and matching too much and not following the debian way, but here
> goes:
>
>
>
> # time xm  create -c config.mabelle_vm /ramdisk=/boot/initrd.img-2.6.26-2-xen-686
> Using config file "/etc/xen/config.mabelle_vm".
> Error: Device 769 (vbd) could not be connected. Hotplug scripts not working.
>
> real    1m44.306s
> user    0m0.748s
> sys     0m0.200s
>
>
>
> >From my googling I'M guessing that vbd stands for "virtual block device"
>
>
> # cat /etc/xen/config.mabelle_vm
> # -*- mode: python; -*-
> kernel="/boot/vmlinuz-2.6.26-2-xen-686"
> memory=128
> name="mabelle_vm"
> disk=[' phy:/dev/Bun_vg/mabelleSys_lv,hda1,w','phy:/dev/Bun_vg/mabelleSwap_lv,hda2,w']
> hostname="mabelle"
> root="/dev/hda1 ro"
> extra="2"
>
>
>
> # ls -l /dev/mapper/Bun_vg-mabelle*
> brw-rw---- 1 root disk 254, 9 2009-04-25 21:23 /dev/mapper/Bun_vg-mabelleSwap_lv
> brw-rw---- 1 root disk 254, 8 2009-04-25 20:03 /dev/mapper/Bun_vg-mabelleSys_lv
>
> # mount
> [irrelevant stuff deleted]
> /dev/mapper/Bun_vg-mabelleSys_lv on /mnt type ext3 (rw)

Having partition mounted is not a good idea for xen machines, umount
it ant try again. Latter you can see at /var/log/xend.log , it could
give you any hints

Regards,


Reply to: