Jump to content
Welcome to our new Citrix community!
  • 0

Can't destroy VBD with vdi not in database


kurisu makise

Question

I'm using XenServer 6.5, and find some abnormal vbds like this

uuid ( RO)             : 5397a6bc-5d46-f544-d156-6ec5cfa1c070
          vm-uuid ( RO): ffd284c4-edac-a751-1081-7153450f90d4
    vm-name-label ( RO): 192.168.109.10-CentOS7.2-test
         vdi-uuid ( RO): <not in database>
            empty ( RO): true
           device ( RO): xvdd

I try to run vbd-destroy but not working 

xe vbd-destroy uuid=5397a6bc-5d46-f544-d156-6ec5cfa1c070
You attempted an operation that was not allowed.
reason: VBD '5397a6bc-5d46-f544-d156-6ec5cfa1c070' still attached to 'ffd284c4-edac-a751-1081-7153450f90d4'

 

I check the VM with vm-uuid ffd284c4-edac-a751-1081-7153450f90d4, it has 2 virtual disks with normal vbd-uuid like this

uuid ( RO)             : 0ded8cf8-12b3-4359-be4a-16f76aac3370
          vm-uuid ( RO): ffd284c4-edac-a751-1081-7153450f90d4
    vm-name-label ( RO): 192.168.109.10-CentOS7.2-test
         vdi-uuid ( RO): d5962aeb-36a4-4086-ab19-b70ed72a0a20
            empty ( RO): false
           device ( RO): xvda

 

How can I fix this? I mean destroy these abnormal vbds.

I would be grateful if someone could give me some suggestions.

 

Link to comment

10 answers to this question

Recommended Posts

11 hours ago, Alan Lantz said:

That is probably a vbd for your DVD drive.  Is your goal to disable the ability to mount a DVD ?

 

--Alan--

 

Thanks for your reply.

I'm not trying to disable the ability to mount a DVD, just didn't notice that xvdd is usually a CD/DVD-ROM device, I'm sorry. 

Link to comment
9 hours ago, Tobias Kreidl said:

A reboot of the VM might fix this. As Alan stated, xvdd is usually a CD/DVD-ROM device and certainly not something you would normally try to destroy.

Is the VM maybe in a strange power state and needs that reset?

 

-=Tobias

Thanks, I get it.

The power state of the VM is normal, I will try to reboot later.

But the number of VBDs like that is slightly less than the VMs, is that probably some VMs has never mount a DVD image before?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...