Question

Remove a disk of an external repository

  • 20 July 2021
  • 0 replies
  • 30 views

Using Nutanix API, I detached a disk from a VM by just specifying device_bus and device_index.  The disk was attached from a passthru external repository.  After detaching the disk, I tries to delete the external repository, I got the following response message from delete external repository API:

"The external repository hsing-ahv-test-repo hosts some virtual disks that are still in use"

I could not delete the external repository.  So, I deleted the VM, but still I could not delete the external repository. 

Any way to remove the virtual disk and delete the external repository?

Thanks


0 replies

Be the first to reply!

Reply