Solved

Can't delete folder/files on ESX 4.1 host

Posted on 2014-07-28
4
507 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 119
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 119

Accepted Solution

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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:
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

791 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