Solved

Unable to Delete VM Folder from ESXi host

Posted on 2015-01-17
8
313 Views
Last Modified: 2015-01-27
Hello Experts,

I have deleted a VM from my ESXi host, I'm prevented from deleting the file from my datastore, see image.

asa
Can someone help?

Cheers
0
Comment
Question by:cpatte7372
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 40555554
have you already checked this official KB against the issue? please do follow the steps and check the logs first.

Cloning or migrating virtual machine files fail with the error: Error caused by file
(2009097)
http://kb.vmware.com/selfservice/microsite
s/search.do?language=en_US&cmd=displayKC&externalId=2009097
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40556051
If there is a SWAP (VSWP) file present, which is shown in your screenshot, it's possible the VM is still running, or the process is still running?

You can try and check what process is running and kill it, but often it's easier to restart the HOST, and try deleting the files and folder again.

this is the VMware KB

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10051

often, you can spend ages and waste time trying this, but I've listed it here for training and educational purposes, just in case you want to have a dabble, and then you'll restart the host! (it's quicker!)

(restarting will shutdown all running processes)
0
 
LVL 5

Expert Comment

by:Uni Kitty
ID: 40558036
Totally agree, it's most likely a running process still accessing the files.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 37

Expert Comment

by:bbao
ID: 40558860
restarting the virtual host should work but i am wondering if this could be okay for a crticial business relying on virtualisation.
0
 
LVL 121
ID: 40558869
@bbao - it's a lab server, used for training!
0
 
LVL 37

Expert Comment

by:bbao
ID: 40559285
@andrew where can i see it is a lab server used for training please?

BTW, just repost the URL as the link was broken in my first comment posted from mobile phone.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009097
0
 
LVL 121
ID: 40559571
@bbao in the Askers history of questions!
0
 

Author Closing Comment

by:cpatte7372
ID: 40574105
Cheers
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question