How do I remove inactive datastore?
Table of Contents
How to Cleanly Remove a vSphere Datastore
- Power down all VMs on the datastore you wish to remove.
- Unregister all powered down VMs from inventory.
- Unmount the datastore from all hosts.
- Detach the device from all hosts.
- Rescan for storage devices.
How do I check my ESXi datastore?
Description
- Find a VMware ESXi host connected to the datastore in question.
- Run the following command at the ESXi shell prompt, replacing with the name of the Datastore in question: vmkfstools -P -v10 /vmfs/volumes/ | grep device.
How do I setup a local datastore?

Configure a local datastore Select an ESXi host and go to Configure > Storage Devices. The attached local HDDs are visible in the list and available to the system. To create a local datastore, go to Configure > Datastores and click the Create a new datastore icon. Select VMFS option as datastore type and click Next.
How do I remove local datastore from vCenter?
Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter

- Open vCenter click on datastore to be removed and click Actions.
- Click Unmount Datastore.
- Choose the host to remove from and click OK.
- Datastore is unmounted.
- Go to Hosts and clusters and select the host you unmounted from.
How do I uninstall orphaned datastore?
To remove these references:
- Go to the Datastores view.
- Select the invalid, nonexistent, old, or removed datastore.
- Select the Virtual Machines tab.
- Right-click all of the virtual machines and templates and click Remove from Inventory from the context menu.
How do I remove inaccessible VM from vCenter?
Inaccessible virtual machines are named as Unknown VM (2172)
- Right-click the Unknown VM entry and click Remove From Inventory.
- Browse to the appropriate datastore for the virtual machine and open the folder.
- Right-click the *.
- Power on the virtual machine.
- Repeat Steps 1 to 4 for all unknown virtual machines.
How do I remove inaccessible virtual machine?
Remove Inaccessible VM in VirtualBox
- Open Terminal.App.
- Enter the following command. vboxmanage list vms.
- In order to remove the VM’s, run the following command for each machine that you want to remove.
- You are done, Virtualbox will instantly remove the inaccessible machine form your list of VMs.
How do I restart my management agent?
Restart Management agents in ESXi Using Direct Console User Interface (DCUI):
- Connect to the console of your ESXi host.
- Press F2 to customize the system.
- Log in as root.
- Use the Up/Down arrows to navigate to Troubleshooting Options > Restart Management Agents.
- Press Enter.
- Press F11 to restart the services.
Where is datastore in VMware?
Datastores in VMware vSphere are storage containers for files. They could be located on a local server hard drive or across the network on a SAN. Datastores hide the specifics of each storage device and provide a uniform model for storing virtual machine files.