Kvm vm only randomly starts

Discussion in 'Server Operation' started by ripit, Jun 16, 2009.

  1. ripit

    ripit New Member

    Hi,

    I'm have a vm runned by kvm that I converted from VirtualBox and most of the times it doesn't start. When I run it in VirtualBox I have to set ide controller to PIIX4. If I set it to PIIX3 it doesn't start.

    In kvm it says that /dev/hda3 is not found.
    Can it be the controller that is wrong and if it is how can I change it.

    This is pretty enoying that I have to restart it several times to get it to work.

    I would be happy for any tips.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    How exactly did you convert the vm?

    Which distribution are you using?
     
  3. ripit

    ripit New Member

    Hi,

    it's an physical Ubuntu 6.06 server that I've backedup and restored to a VirtualBox machine with systemimager. It's running fine on VirtualBox 2.2.4 so I tried to convert it to kvm.
    I used clonehd to raw image in virtualbox and then i converted it to qcow2 format with qemu-imageconvert. It's all running on a Ubuntu 9.04 with kvm amd qemu installed frop repos.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Hm... Are there any errors in the logs?
     
  5. ripit

    ripit New Member

    I can't see anything in the log for the vm.
    Which log should i check? If I get it running again I can check the logs there.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Check the /var/log directory.
     
  7. ripit

    ripit New Member

    I have checked there but the problem is that kvm starts fine and the grub boot shows up but then it doesn't find /dev/hda. So I don't think that kvm or libvirtd is aware that something is wrong.
     
  8. falko

    falko Super Moderator ISPConfig Developer

Share This Page