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 08:59]
gcooper
virtualization:xenserver:xenserver_troubleshoot [2019/04/30 06:34] (current)
gcooper
Line 21: Line 21:
 :!: You probably won't see the kernel panic (hang on boot) until **after installing SP1** (XenServer 6.2). :!: You probably won't see the kernel panic (hang on boot) until **after installing SP1** (XenServer 6.2).
  
-===== File System on Control Domain Full ===== +==== Check Disk Space ====
- +
-https://support.citrix.com/article/CTX202821 +
- +
-http://xenserver.org/component/easyblog/entry/xenserver-root-disk-maintenance.html?Itemid=179 +
- +
-Check disk space:+
  
 <file> <file>
Line 50: Line 44:
 </file> </file>
  
-===== Log Partition Full =====+===== File System on Control Domain Full =====
  
-df -h+https://support.citrix.com/article/CTX202821 
 + 
 +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 =====
  
 Delete rotated log files: Delete rotated log files:
Line 58: Line 87:
 <file> <file>
 find /var/log/ -type f -name *.gz -exec rm -f {} \; find /var/log/ -type f -name *.gz -exec rm -f {} \;
 +</file>
 +
 +Delete ''tapdisk'' log files:
 +
 +<file>
 +rm -f /var/log/blktap/*
 </file> </file>
  
virtualization/xenserver/xenserver_troubleshoot.1523113195.txt.gz · Last modified: 2018/04/07 08:59 by gcooper