Citrix Xen Server 6.x Error: VDI Not Available

Enterprise team shot this issue up to me today which I hadn’t seen before. There was a hung VDI VM in our Xen Server 6.5 farm that refused to boot. Every time it would attempt to power up, it would fail with the error of “VDI Not Available.” Typically this occurs if a VM hangs and is terminated improperly or a host fails. In my case, the host wouldn’t let go of the writecache disk for the VDI VM. Thankfully the fix is relatively easy and doesn’t result in any downtime for the rest of the environment.

  • First SSH into the host holding onto the VM in question
  • Get the UUID of the VM and copy it to your clipboard

  • Check to see if the VM is properly shutdown across the cluster/site

  • Get the VDI disk UUID and copy that to your clipboard

  • Run the reset script packaged with Xen Server
  • And that’s all there is to it. Quick, simple, and effective. If only all solutions were this simple…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.