Unable to delete a folder in ESX datastore browser

Posted on 2009-12-23
Last Modified: 2013-11-11

Running VMware ESX Server 3i build 153875 on several machines.  I've been using VMWARE server for a while, but new to the ESX series.  

Anyway, i had several virtual machines that i'd converted that were on the datastores, but i'm unable to delete them for some reason.  The first picture (problem1.jpg) shows that the 'delete' button is greyed out, even though there's nothing in the folder, and (problem2.jpg) the machine isn't running or even in the server inventory, so i don't know :(
Question by:Mystical_Ice
    LVL 24

    Expert Comment

    Try selecting the root "/" then select the folder you want to delete on the right pane NOT from the tree, try to delete again
    LVL 24

    Accepted Solution

    Does that work for you?
    If not login to the console
    cd /vmfs/volumes/datastore2
    Then type the following
    rm -rf hou-dc

    Author Comment

    haven't been able to try this yet; i'll be going to the site later this week and will try it then

    Expert Comment

    Have you been able to remove the folders? I am trying to do the same thing.

    The name of the server is vm1. The folders are in a Datasotore (SAN). I have connected to the server but this is all I have when running ls -l

    Any suggestions?

    [root@vm1 root]# ls -l
    total 24
    -rw-r--r--    1 root     root         1187 Jun  1  2009 anaconda-ks.cfg
    drwxr-xr-x    2 root     root         4096 Jun  2  2009 emctmp
    -rw-r--r--    1 root     root        11117 Jun  1  2009 install.log
    -rw-r--r--    1 root     root         2190 Jun  1  2009 install.log.syslog

    Assisted Solution


    Browse your datastore
    click the search tab
    look for your folder
    right click it and select "delete from disk"

    Volia :)
    Eagle of Algeria

    Expert Comment

    Yep...That did the trick...

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    VMware vSphere 5 VMWare have been specialising in server virtualisation since 2001. It has the largest market share especially in the enterprise market and therefore has a strong reputation for delivering virtualisation solutions. As it was the f…
    Citrix XenDesktop 7.6 Citrix Policies Graphics
    Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
    This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

    729 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