ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

What is VMware vSphere On-Disk Metadata Analyzer – VOMA

By Vladan SEGET | Last Updated: February 26, 2018

Shares

VMware vSphere and ESXi has a very solid storage system. You might be interested in a fact, that there is a tool, similar to Windows chkdsk, which can check and identify incidents on metadata corruption which might affect file systems or underlying logical volumes. During such situations, you might want to run VMware vSphere On-Disk Metadata Analyzer (VOMA).

In case you're having problems (storage outages, after rebuilding a RAID or disk replacement, metadata consistency errors in vmkernel.log file) with VMFS datastores or a virtual flash resource, VOMA can be used from CLI of an ESXi host and you can check and fix minor consistency issues for  VMFS datastore or virtual flash resource.

In order to use the tool the right way, you should check the KBs listed below the post. Make sure that the VMFS datastore does not span multiple extents (VOMA can be run only against a single extent). Also, you need to evacuate running VMs to another datastore or shut them down. However, if you have doubts that a VM after shut down won't restart, make sure that you have a propper backup of that VM before shutting down.

How to use VMware vSphere On-Disk Metadata Analyzer?

If you're not sure, file a support request with VMware, before doing any of this. Check both KB articles for best practices.

Basically you should make sure that:

  1. There are no VMs on the datastore you wish to analyze.
  2. For VMFS5 datastores, the datastore is unmounted on all ESXi hosts (I haven't done that so I have a message saying that one ESXi uses this datastore for heart beating)
  3. For VMFS3 the LUN masking has to be in place by using claim rules.
  4. The volume does not have several extents.

Step 1. Connect via SSH and enter this command to obtain the name and partition number of the device which has the VMFS datastore.

esxcli storage vmfs extent list

You'll see an output like this

Step 2. Then run this command by providing an absolute path to the device partition you want to check. You'll also need to give a partition number with the device name. Example below:

voma -m vmfs -f check -d /vmfs/devices/disks/t10.ATA_ST31000528AS__6VPB9053:1

Gives us just a notification that the datastore heart beating is taking place on this datastore. But no errors.

The options:

You can find all options by typing, as usually:

voma -h

The output looks like this:

You can log the output to a file with the -s option or further display help message with each VOMA command.

VOMA on our testing system (ESXi 6.5) has 4 options:

query – list functions supported by module
check – check for Errors
fix – check & fix
dump – collect metadata dump

To be honest, I haven't been aware of this utility and found the mention in VMware vSphere troubleshooting guide (PDF). It is certainly a good find which can detect some errors in case you have some doubts on your datastore.

vSphere On-disk Metadata Analyzer (VOMA) can help in a situation where you need isolate certain problems or clear doubts. You might have intermittent access to files on a datastore, but this can be network issues or storage issues. Having a tool which can clear doubts is a good thing. Similar to Microsoft's check disk, VOMA can be useful when troubleshooting VMware ESXi or vSphere storage problems.

A two VMware KB articles which are interesting to read. One of them helps you via the help of VOMA, recreate missing partition tables.

  • Using VMware vSphere On-disk Metadata Analyzer to re-create missing partition tables on VMware ESXi

The other one gives you some further guidance on the VOMA tool with some cautions too.

Quote:

Shutting down a virtual machine running on files having certain types of corrupt metadata may make the virtual machine and its data permanently unavailable. Because of this it is always advisable to have current backups of the virtual machines in the environment. If you suspect that the virtual machine may become unavailable, because for example, there are read/write errors in the guest OS, or the virtual machine is unresponsive, you should open a support request.

Here is the link:

  • Using vSphere On-disk Metadata Analyzer (VOMA) to check VMFS metadata consistency

If you're having doubts or experiencing problems and have VMware support, it's always preferable to fille a support request. One never knows. Also, backup any VMs which you might suspect of any kind of data corruption.

More from ESX Virtualization

  • What is VMware VMFS Locking Mechanism?
  • VMware Transparent Page Sharing (TPS) Explained
  • VCP6.5-DCV Objective 7.2 – Troubleshoot vSphere Storage and Networking
  • VCP6.5-DCV Objective 2.2 – Configure Network I/O control (NIOC)
  • Mastering VMware vSphere 6.5

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: How To, Tips Tagged With: VMware vSphere On-Disk Metadata Analyzer

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Yuriy Andamasov says

    February 26, 2018 at 3:54 pm

    Thank you Vladan!
    Definitely should be on list of troubleshooting tools

  2. Joshua says

    February 26, 2018 at 7:13 pm

    If all VMs need to be off the datastore and the datastore needs to be offline to use VOMA, why not just delete the datastore and recreate it from scratch and format it? Wouldn’t that clear up any errors, or is this for validating the disks behind the VMFS datastore?

    • Vladan SEGET says

      February 27, 2018 at 10:38 am

      You might not be able to move off all the VMs (large datastore, unaccessible VMDKs..). It can fix metadata issues only. Not the underlying raid groups.

      • JayST says

        March 2, 2018 at 12:37 am

        so how would you check if you can’t move the VMs?

        • Vladan SEGET says

          March 2, 2018 at 10:42 am

          Do you experience particular problems? You can first use the tool to check if there are any metadata problems. If yes, you should backup your VMs first (if not already done) before trying anything else.

          If you can’t access some VMDKs then obviously you can’t move them, allong with the VMs.

          With a good backup, you can just delete and recreate the datastore to clean things out.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in