6.5.1

Table Of Contents
When specifying the device parameter, use the following format:
/vmfs/devices/disks/disk_ID
For example,
vmkfstools -z /vmfs/devices/disks/disk_ID my_rdm.vmdk
Listing Attributes of an RDM
Use the vmkfstools command to list the attributes of a raw disk mapping. The attributes help you identify
the storage device to which your RDM files maps.
-q|--queryrdm my_rdm.vmdk
This option prints the name of the raw disk RDM. The option also prints other identification information,
like the disk ID, for the raw disk.
Example: Example of Listing RDM Attributes
# vmkfstools -q /vmfs/volumes/VMFS/my_vm/my_rdm.vmdk
Disk /vmfs/volumes/VMFS/my_vm/my_rdm.vmdk is a Passthrough Raw Device Mapping
Maps to: vml.020000000060050768019002077000000000000005323134352020
Displaying Virtual Disk Geometry
Use the vmkfstools command to get information about the geometry of a virtual disk.
-g|--geometry
The output is in the form: Geometry information C/H/S, where C represents the number of cylinders, H
represents the number of heads, and S represents the number of sectors.
Note When you import virtual disks from hosted VMware products to the ESXi host, you might see a
disk geometry mismatch error message. A disk geometry mismatch might also trigger problems when you
load a guest operating system or run a newly created virtual machine.
Checking and Repairing Virtual Disks
Use the vmkfstools command to check or repair a virtual disk if it gets corrupted.
-x|--fix [check|repair]
For example,
vmkfstools -x check /vmfs/volumes/my_datastore/my_disk.vmdk
vSphere Storage
VMware, Inc. 345