Solved

DELETE FROM DISK greyed out in VSPHERE CLIENT, cant delte the VM!!!

Posted on 2011-09-12
17
5,514 Views
Last Modified: 2012-05-12
i am unable to delete a vmware image from VSPHERE CLIENT
when i right click on the VM i want to delete, almost everything is greyed out, including REMOVE FROM INVENTORY
any ideas? im able to delete the other VMs on the list.
0
Comment
Question by:jsctechy
  • 7
  • 5
  • 5
17 Comments
 
LVL 119
ID: 36522539
Is a Task In Progress on this VM?

Restart Network Management Agents on the Host ESX/ESXi server.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36522686
The VM needs to be powered down. Is it off?

~coolsport00
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36522794
no task in progress, i think this was a VM that was created and then the files were deleted from the DATASTORE
im not 100% sure
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:jsctechy
ID: 36522870
the VM is off, i think it might be pointed to a file that was deleted from the local data store? (someone problably deleted it incorrectly)
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36523114
Ok, try rebooting vCenter Server to see if it 'clears' out. You could 1st try to restart the mgmt agent on the host the VM was on, as mentioned above:

services.sh restart

...from the DCUI of ESXi; if you have ESX, you can Putty to the service console and run:

Service mgmt-vmware restart

Reference this KB: http://kb.vmware.com/kb/1003490

~coolsport00
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36524186
it now shows UNKNOWN (INACCESSIBLE)
how can i remove it from the list?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36524188
Can you now remove it from Inventory?
0
 
LVL 119
ID: 36524232
Right Click, Remove from Inventory.
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36524270
its greyed out, i cant remove it from inventory by right clicking on it.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36524277
Are you logged onto vCenter or host directly? Try logging on host, rt-click the VM and remove from inventory.
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36524299
im logged into the host directly not usinv Vcenter

when i go to VIEW>ADMINISTRATION>ROLES i can see the ROOT user under the READ ONLY and ADMINISTRATOR roles, why would it be under the read only? shouldnt it just be under ADMINISTRATOR?
0
 
LVL 119
ID: 36524317
what use have you logged in with?

have you changed any of the default permissions?
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36524324
im logged in with ROOT
i havent changed any of the permissions, i am able to delete the other VMs, i think this might be orphaned? not sure how to get rid of though
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
ID: 36524387
The only other option I can think of, outside of what we shared, is to reboot the actual host. Not sure if you can do that during business hrs or not?...
0
 
LVL 119
ID: 36524396
Yes, it's clearly orphaned. Usually you can Right-Click, and Select Remove from Inventory, but I've known incidents when things, "go weird", I've currently got a client site with a phantom datastore, that's also grey out that cannot be removed!

At next reboot, check if it's still there. (it won't do any harm).
0
 
LVL 1

Author Comment

by:jsctechy
ID: 36524429
its in our dev environment, i rebooted it already and thats when it went from the host name to UNKNOWN
no option to delete or remove... i found something on the vmware website that says to add a folder to VCENTER and then add the VM to that folder and then delete the folder... the only problem is i dont have VCENTER
0
 
LVL 119
ID: 36524437
You can download a trial of vCenter.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setting up  FC, iSCSI on vSphere 6.0 for storage 1 45
Hit router interface limit 7 37
installing vRealize Orchestra 1 25
time esx vm's to reboot 4 22
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

840 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