VMware Cloud Community
Patrick000
Contributor
Contributor

Where can I get Voma or "Vmkfstools.pl --X -fix repair"

Hello,

I am using ESXI 5.5 on the server and running the CLI 5.5 tools on Windows.

I have a corrupted vmdk file that prevents the VM to be powered on. It says the vmdk cannot be read due to I/O error.

I would like to check the vmdk file. I saw there is a Voma command mentioned by Vmware but where do I run it?

The bin folder of the CLI tools in "C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>" does not seems to have it?

Also, I read someone online says the Vmkfstools has an option to fix the vmdk file I can't find that option either "Vmkfstools.pl --X -fix repair"

Thanks for your help in advance.

Reply
0 Kudos
3 Replies
npadmani
Virtuoso
Virtuoso

SSH into your ESXi host, both of those commands are available there.

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
Reply
0 Kudos
continuum
Immortal
Immortal

The syntax you posted is not correct.
It is either
vmkfstools --fix repair <vmdk-descriptorfile>
or
vmkfstools -x repair <vmdk-descriptorfile>

Anyway I never seen that I/O errors can be fixed with a vmkfstools command.
Can you still get results for
vmkfstools -p 0 <corrupt flat.vmdk> ?

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
pikasuoh
Contributor
Contributor

SSh into ESXi host:

[root@esxi-2:/dev/disks] voma

Module name is missing. Using "vmfs" as default

Device/Disk name is required.

Usage:

voma [OPTIONS] -m module -d device

-m, --module      Name of the module to run.

                    Available Modules are

                      1. lvm

                      2. vmfs

                      3. vmfsl

                      4. ptbl

-f, --func        Function(s) to be done by the module.

                     Options are

                       query   - list functions supported by module

                       check   - check for Errors

                       fix     - check & fix

-d, --device      Device/Disk to be inspected

-s, --logfile     Path to file, redirects the output to given file

-v, --version     Prints voma version and exit.

-h, --help        Print this help message.

Example:

voma -m vmfs -f check -d /vmfs/devices/disks/naa.xxxx:x

[root@esxi-2:/dev/disks] voma -m vmfs check -d /vmfs/devices/disks/naa.60003ff44dc75adc9054293b4649b29c:1

Checking if device is actively used by other hosts

Found 2 actively heartbeating hosts on device '/vmfs/devices/disks/naa.60003ff44dc75adc9054293b4649b29c:1'

1): MAC address 00:0c:29:2b:e7:6c

2): MAC address 00:0c:29:d5:f1:a6

[root@esxi-2:/dev/disks]

[root@esxi-2:/dev/disks]

Reply
0 Kudos