Solved

Unable to Delete VM Folder from ESXi host

Posted on 2015-01-17
8
293 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
8 Comments
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 118
ID: 40558869
@bbao - it's a lab server, used for training!
0
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
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 118
ID: 40559571
@bbao in the Askers history of questions!
0
 

Author Closing Comment

by:cpatte7372
ID: 40574105
Cheers
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now