Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Can't delete folder/files on ESX 4.1 host

Posted on 2014-07-28
4
Medium Priority
?
561 Views
Last Modified: 2016-02-25
Hello Experts - I'm having problems deleting a folder on a datastore.  Its a Veeam replica of my exchange server.   The replications keep failing and support asked me to start over with a reseed of the replication.  When trying to delete the existing VM folder I get the following error for the folder and all files inside:

error1.jpg
Any ideas on how I can get this folder deleted so I can setup a new replica?
0
Comment
Question by:danbrown_
  • 2
  • 2
4 Comments
 
LVL 125
ID: 40224174
I would first start with a reboot of the host, and then check the folder.

Is the folder in use?
0
 

Author Comment

by:danbrown_
ID: 40224196
It always seems to come down to rebooting the host but that is not easily done, this device is remote and there is no KVM for me to hook into.  The folder should not be in use, the VM that was associated with it has been removed.  Is there no way to force the folder to be unlocked and deleted even from the command line?
0
 
LVL 125

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40224205
The only way, is to look at the processes on the host, and working out which process, has a lock on the folder.

In our experience, remoting into a host via (SSH), and looking through process lists is a waste of time, and a reboot is often quicker.

Rebooting can be done remotely, there is no need for a keyboard or mouse.
0
 

Author Comment

by:danbrown_
ID: 40224250
Ok, reboot it is.  Thanks Andrew!
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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…
Suggested Courses

577 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