Solved

Can't delete folder/files on ESX 4.1 host

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

776 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