User Tools

Site Tools


virtualization:xenserver:xenserver_troubleshoot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:xenserver:xenserver_troubleshoot [2018/04/07 09:03]
gcooper
virtualization:xenserver:xenserver_troubleshoot [2019/04/30 06:34] (current)
gcooper
Line 49: Line 49:
  
 http://xenserver.org/component/easyblog/entry/xenserver-root-disk-maintenance.html?Itemid=179 http://xenserver.org/component/easyblog/entry/xenserver-root-disk-maintenance.html?Itemid=179
 +
 +===== Detach a VHD from the Control Domain =====
 +
 +<note important>It is suggested to rename the REAL virtual disk so you DO NOT delete the wrong one!  Rename the real one because you can't rename the one connected to the control domain.  You can rename the REAL one back to the original name when you are done.</note>
 +
 +List out the VBD (connector object between VM and VDI) based on the VDI UUID:
 +
 +<file>
 +xe vdi-list | grep -B1 -A5 -i "part-of-vm-name"
 +
 +xe vdi-list name-label="<VDI-name-label>"
 +
 +xe vbd-list vdi-uuid=<UUID of VDI>
 +
 +</file>
 +<note important>Verify the VBD is the one connected to control domain!
 +</note>
 +
 +Once done, you want to first try to make VBD inactive (it may already be inactive),
 +
 +<file>
 +xe vbd-unplug uuid=<UUID of VBD>
 +</file>
 +
 +Once done, you can then break the connection:
 +
 +<file>
 +xe vbd-destroy uuid=<UUID of VBD>
 +</file>
 +
 +Check in XenCenter to verify and delete the virtual disk.
  
 ===== Log Partition Full ===== ===== Log Partition Full =====
virtualization/xenserver/xenserver_troubleshoot.1523113409.txt.gz · Last modified: 2018/04/07 09:03 by gcooper