VMware Cloud Community
IoanL
Contributor
Contributor

VOMA - LVM Major or Minor version Mismatch, Failed to Initialize LVM Metadata

Using ESXi 6.0 with the free version of vSphere.

I simulated a short press of the power button via iRMC while a CentOS VM and a Windows VM were up. The host proceeded to shut down. It took a bit for that to happen. I expected that the VMs would also shut down cleanly, but I was wrong.

Apparently, everything still works, but the Windows VM reported an unclean shutdown.

So I decided to check the host file system with VOMA. I have only one datastore spanning only one extent.

To that end I ran

voma -m vmfs -f check -d /vmfs/devices/disks/naa.6005xxxxxxxxxxxxxxxxxxxxxxx

voma -m vmfs -f fix -d   /vmfs/devices/disks/naa.6005xxxxxxxxxxxxxxxxxxxxxxx

Both commands yielded the following results:

ERROR: LVM Major or Minor version Mismatch, Not supported

ERROR: Failed to Initialize LVM Metadata

VOMA failed to check device : Not Supported

Total Errors Found:     0

Total Errors Fixed:     0

Total Partially Fixed errors: 0

Kindly Consult VMware Support for further assistance

How can I get rid of this error?

Thank you.

Tags (2)
0 Kudos
3 Replies
mariuszn87
Contributor
Contributor

Hello,

Is this Datastore consist of extents?

esxcli storage vmfs extent list

Regards,

Mario

0 Kudos
ak_v
Contributor
Contributor

Bumped into such issue on ESXi 6.7 and 7.0.

Even:

  • removing and creating the datastore on ESXi
  • reinstallation of the ESXi
  • removing and creating the VD disk in the RAID controller (we use LSI 9360-8i) and installation of the ESXi

didn't help.

 

The problem has been solved after these steps:

  1. Creating a new VD via the controller
  2. Erasing the VD via the controller
  3. Creating a new VD and get full initialization done via the controller
  4. Installing ESXi

 

Hope this help to anybody.

0 Kudos
paudieo
VMware Employee
VMware Employee

you need to specify the partition number to execute correctly

see KB https://kb.vmware.com/s/article/2036767 

voma -m vmfs -d /vmfs/devices/disks/naa.00000000000000000000000000:1 

Where: naa.00000000000000000000000000:1 is the LUN NAA ID and partition to be checked. Note the :1 at the end. This is the partition number containing the datastore and must be specified.

 

0 Kudos