0
点赞
收藏
分享

微信扫一扫

挂载ISO镜像弹出Answer Question后未回答导致虚拟机Suspend


在mount /dev/cdmnt /mnt挂载虚拟光驱,使用完成后卸载虚拟光驱,umount /dev/cdrom导致虚拟机hung住一段时间,具体解决方案

Symptoms
When you disconnect the virtual CD/DVD drive without unmounting inside guest OS, you experience these symptoms:
Linux virtual machine stops responding.
Virtual machine does not respond until you answer the question:
The guest operating system has locked the CD-ROM door and is probably using the CD-ROM, which can prevent the guest from recognizing media changes.
If possible, eject the CD-ROM from inside the guest before disconnecting.
Disconnect anyway and override the lock?"
Resolution
This is an expected behavior when a CD/DVD drive is locked by virtual machine.

To work around this issue, use one of these options:
Unmount the CD/DVD drive in the virtual machine before disconnecting.

For example, run this command for Guest OS RHEL7:


eject cdrom
Add these entries to vmx file to answer the question automatically:
To cause disconnection to fail
------------------------------------
cdrom.showIsoLockWarning = "TRUE"
msg.autoanswer = "TRUE"
------------------------------------

To force to disconnect CD/DVD drive regardless of locking drive by virtual machine
------------------------------------
cdrom.showIsoLockWarning = "FALSE"
msg.autoanswer = "TRUE"
------------------------------------

Note: For more information, see Tips for editing a .vmx file (1714).

挂载ISO镜像弹出Answer Question后未回答导致虚拟机Suspend_webview

详见官网链接:​​https://kb.vmware.com/s/article/2144053?lang=en_us​​​​​​

版权声明:本文为博主原创文章,未经博主允许不得转载。

linux

举报

相关推荐

0 条评论