You can check metadata consistency when you experience problems with a VMFS datastore or a virtual flash resource. For example, perform a metadata check if one of the following occurs:
XXXXXXXXXXXXXXXXXXXXXXX
Phase 2: Checking VMFS heartbeat region
ON-DISK ERROR: Invalid HB address
Phase 3: Checking all file descriptors.
Phase 4: Checking pathname and connectivity.
Phase 5: Checking resource reference counts.
Total Errors Found: 1
Command Option |
Description |
|
---|---|---|
-m|--module |
The modules to run include the following: |
|
vmfs |
If you do not specify the name of the module, this option is used by default. You can check the VMFS file systems and the file systems that back virtual flash resources. If you specify this module, minimal checks are performed for LVM as well. |
|
lvm |
Check logical volumes that back the VMFS datastores. |
|
ptbl |
Check and validate VMFS partitions, such as MBR or GPT. If no partition exists, determine whether partitions should exist. |
|
-f|--func |
Functions to be performed include the following: |
|
query |
List functions supported by module. |
|
check |
Check for errors. |
|
fix |
Check and fix errors. |
|
dump |
Collect metadata dump. |
|
-a|--affinityChk |
Include affinity-related check and fix for VMFS6. |
|
-d|--device |
Indicate the device or disk to inspect. Make sure to provide the absolute path to the device partition backing the VMFS datastore. If the datastore spans multiple devices, provide the UUID of the head extent. For example, voma -m vmfs -f check -d /vmfs/devices/disks/naa.xxxx:x If you use the -x|--extractDump command, enter multiple device paths, with a partition qualifier, separated with a comma. The number of device paths you enter equals the number of spanned devices. |
|
-b|--blockSize |
Indicate the disk block size. |
|
-s|--logfile |
Specify the path to log file to output the results. |
|
-x|--extractDump |
Extract the collected dump using VOMA. |
|
-D|--dumpfile |
Indicate the dump file to save the collected metadata dump. |
|
-v|--version |
Display the version of VOMA. |
|
-h|--help |
Display the help message for the VOMA command. |
|
-Y |
Indicate that you run VOMA without using PE tables for address resolution. |
|
-Z| --file |
Indicate that you run VOMA on extracted device files. |