Search the VMware Knowledge Base (KB)
View by Article ID

Datastore appears empty from the datastore browser (1010832)

  • 26 Ratings

Purpose

This article explains why a datastore may appear empty from the datastore browser, even when the virtual machine does not report a problem and SSH/CLI access shows the correct content.

Resolution

This may occur due to the following circumstances:
  • If the LUNs are unpresented and represented after a storage maintenance.
  • If the IP information of the iSCSI storage changes.
  • When recovering a VMFS volume if its partitions were lost.
  • If the 32nd character of a long virtual machine name is a space.

If the information displayed via the terminal is correct but the vSphere Client (particularly when connected directly to an individual VMware ESX server) is not:

If restarting management agents does not resolve this issue, refresh the information from vSphere Client connected to vCenter Server:

  1. Open the VMware vSphere or Infrastructure Client and connect to your VMware vCenter or VirtualCenter Server
  2. Select an ESX host with access to the datastore.
  3. Click the Configuration tab.
  4. Click the Storage section (under Hardware Category).
  5. Click Refresh (in the upper right corner).
Note: If this issue is observed after unpresenting a LUN from a host, perform a rescan for that host.

If the above steps do not resolve the issue, and you have:
  • Experienced the problem after performing a VMFS resignature process
  • There are or issues with snapshot LUNs
  • After unmounting/mounting NFS datastores,
  • After changing storage presentation.
The issue may be due to invalid or duplicated references in the VMware vCenter or VirtualCenter Server database regarding the datastore, or there are other inconsistent references across the cluster (for instance, not all ESX hosts are presented the datastore in the same way; ensure there is uniform presentation).

To resolve this issue, remove all the invalid references to the old datastore name. The following objects can reference the datastore:

  • A registered virtual machine.
  • A registered template.
  • A host on which the datastore appears on Datastores list, even when the storage device is no longer accessible.

To remove these references:

  1. Go to the Datastores view.
  2. Select the invalid, nonexistent, old, or removed datastore.
  3. Select the Virtual Machines tab.
  4. Right-click all of the virtual machines and templates and click Remove from Inventory from the context menu.
  5. If the datastore is still visible, click the Hosts tab (to determine which hosts still 'see' the invalid datastore).
  6. In each of these hosts click Configuration and Storage, then click Refresh.

When there are no longer any object references to the datastore (and the datastore itself is not visible from the Storage view), it disappears from vCenter Server's inventory and views.

Additional Information

For related information, see the vSphere Command-Line Interface Documentation.

Tags

datastore-contents-missing

See Also

Update History

10/19/2012 - Added ESXi 5.1 to Products

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 26 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 26 Ratings
Actions
KB: