Monday to Saturday 9:00–19:00, Sunday closedFree pickup anywhere in Germany · drop-off in Berlin and Hamburg

Business

VMFS datastore missing after an ESXi update: causes and recovery

The host comes back after the update, but the datastore with the virtual machines is gone. The VMs show as inaccessible, the storage view lists the disk without a file system, or does not list it at all. Before anyone formats anything, it is worth knowing that ESXi hides datastores on purpose in some situations.

Published 2 min readBy Mirush Murataj

Cover of the RecDati guide: VMFS datastore missing after an ESXi update: causes and recovery
ESXi hides a VMFS volume it believes is a copy (snapshot LUN).

In short

  • ESXi hides a VMFS volume it believes is a copy (snapshot LUN).
  • A missing or changed partition table makes the volume invisible.
  • Never create a new datastore on the disk where the old one was.

Cause 1: the volume is seen as a snapshot

Every VMFS volume carries a unique signature tied to the disk it was created on. If the disk ID changes, for example after a firmware update of the controller, a change of the storage path or a restored LUN, ESXi thinks the volume is a copy. It does not mount it automatically, to avoid two datastores with the same identity.

The command esxcli storage vmfs snapshot list shows such volumes. They can be mounted with their existing signature or with a new one. Mounting with the existing signature is the gentler choice, if the original is no longer present. Take a note of the output before doing anything.

Cause 2: the partition table is gone

ESXi expects a GPT partition with the VMFS type. If the table is damaged or missing, the disk shows as empty. This happens after a failed update, a RAID controller that was reset, or a disk briefly connected to another system. The VMFS data is usually still there, only the entry pointing to it is missing.

Cause 3: the storage below is damaged

If the RAID below the datastore is degraded or was rebuilt incorrectly, the VMFS structures read are invalid. ESXi then reports metadata or heartbeat errors. In this case, no command on the host will help: the array must be repaired first, from copies.

What not to do

  • Do not use "New Datastore" on the disk that held the old one.
  • Do not resignature a volume if you are not sure the original is gone.
  • Do not delete partitions or run a "partedUtil" fix found on a forum without a full copy.

In the lab

The disks of the host or the LUN of the storage system are copied. If needed, the RAID is reconstructed first. The VMFS volume is then read with the lab's own tools: the file descriptors, the VMDK descriptors and the flat files. Each virtual machine is extracted as a set of VMDK files that you can register again on any host, or the files inside the guest are recovered directly if the VMDK itself is damaged.

More on virtual machines: virtual machines data recovery. If the datastore was an iSCSI LUN on a NAS: iSCSI LUN on a NAS gone: why the volume is not lost yet.

Frequently asked questions

Do VMware snapshots help?

They contain only the changes since the snapshot. Without the base disk, they are of little use, but they can complete a recovered base disk.

Does the ESXi version matter?

Yes. VMFS 5 and VMFS 6 differ. Note the version before and after the update.

Can a single VM be recovered first?

Yes. Tell us which machine has priority, and it is extracted and checked first.

Official sources and useful links

Are these files business-critical?

Stop every repair attempt that writes to the disks. The lab diagnosis is free and you receive a fixed price before anything is done.

Request a free diagnosis Virtual machines data recovery

Switch the device off, leave it as it is and let the lab have a look first.

Get a price