Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A case where the VMware virtual machine file cannot be deleted

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Keywords: VMware ESXi, virtual machine

Operation background: due to improper operation and maintenance, a virtual machine hangs up, and the folder of the VM is expected to be deleted, but from the vCenter interface or the instruction interface, it is prompted that the file cannot be deleted and the file is occupied.

Judging from the error message, there is currently a process locking the virtual machine file:

Ssh to the ESXi host where the virtual machine is located, and use the lsof instruction to query the corresponding process:

Lsof | name or key information of the grep virtual machine

Kill drops the process:

Kill-9 process ID

This article synchronizes with ItMan Virtualization Forum www.54itman.club

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report