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

[Xen-users] Problem to start PV VM



Hi, 

I'm having a strange problem to start a virtual machine PV and would like to know if anyone has experienced this or if it's a BUG.

I have Xen 4.1.4, kernel 2.6.32-xen and CentOS 6.4 64bits, the configuration of my virtual machine like this:

VM.xml
<domain type='xen'>
  <name>vm-1</name>
  <memory>8097152</memory>
  <vcpu>4</vcpu>
  <os>
    <type arch='x86_64' machine='xenpv'>linux</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='tap2' type='vhd' /> 
      <source file='/local/disk/vm-1.vhd' />
      <target dev='xvda' bus='xen' />
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:19:25:fa'/>
      <source bridge='virtbr12'/>
      <script path='/etc/xen/scripts/vif-test'/>
      <target dev='tec002.0'/>
    </interface>
    <interface type='bridge'>
      <mac address='ce:65:82:e3:ec:7d'/>
      <source bridge='virtbr4'/>
      <script path='/etc/xen/scripts/vif-test'/>
      <target dev='tec004.0'/>
    </interface>
    <graphics type='vnc' autoport='yes'/>
  </devices>
</domain>

Sometimes I get this error message:
error: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: Disk isn't accessible")

Searching in the internet, I found this link, http://comments.gmane.org/gmane.os.solaris.opensolaris.xen/5105, took the test and it worked, but when you restart the virtual machine, not started, and went back to have problems with "Error creating domain: Disk isn't accessible"

Checked that this virtual machine disk mapped to the dom0.

# virsh dumpxml 0 
<domain type='xen' id='0'>
  <name>Domain-0</name>
  <uuid>00000000-0000-0000-0000-000000000000</uuid>
  <memory>4194304</memory>
  <currentMemory>3702784</currentMemory>
  <vcpu cpuset='0-3'>4</vcpu>
  <bootloader></bootloader>
  <os>
    <type>linux</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='tap2' type='vhd'/>
      <source file='/local/disk/vm-1.vhd'/>
      <target dev='/dev/xvdp' bus='ide'/>
      <readonly/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='tap2' type='vhd'/>
      <source file='/root/vm-1/vm-1.vhd'/>
      <target dev='/dev/xvdp' bus='ide'/>
      <readonly/>
    </disk>
  </devices>
</domain>

How can I remove this mapping  to dom0?

How to fix this problem?


Regards,


Marcos Amorim


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.