VMware Cloud Community
INFOnlineGmbH
Contributor
Contributor

vCenter 7.0, virtual machine freezes when trying to disconnect an ISO image

Hello everybody!

I have an interesting but also annoying problem: when I want to disconnect a mounted drive/ISO image from a VM, a prompt appears saying that this drive/ISO image is in use and if you want to force it. During exactly this query the VM freezes and is no longer accessible. This is very bad so how to solve this problem? By the way, is this a known problem?

Thanks and many greetings,
Tobias

Reply
0 Kudos
5 Replies
continuum
Immortal
Immortal

Disconnect / unmount the CDrom from within the guest first. Yes - of course this is a known issue.

 

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
INFOnlineGmbH
Contributor
Contributor

Thanks for the quick reply.

Unfortunately, this is not always possible without further ado, since these are customer VMs and I rarely have access to the operating system.
I was hoping that it is just a bug and that there is a patch or a workaround for it.

Best, Tobias

Reply
0 Kudos
continuum
Immortal
Immortal

In Linux-VMs you would need to umount the CDrom-device.
In Windows VMs make sure that the content of the ISO is not listed in an explorer-window.

When ever you try to unmount an ISO forcefully you can expect that the VM freezes for a few seconds.

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
irigoyen
Enthusiast
Enthusiast

If it's happening with the vCenter, it's useful to connect directly to the ESXi host and disconnect the ISO from there.

Reply
0 Kudos
RajeevVCP4
Expert
Expert

So you don not want login on vm and eject CD from there ? then you can use powercli command 

Get-VM <vmname> | Get-CDDrive | Set-CDDrive -NoMedia -Confirm:$false

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
Reply
0 Kudos