Solved

Can't delete folder/files on ESX 4.1 host

Posted on 2014-07-28
4
483 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 117
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 117

Accepted Solution

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

757 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