6.5.1

Table Of Contents
n
If you use vMotion to migrate virtual machines with RDMs, make sure to maintain consistent LUN IDs
for RDMs across all participating ESXi hosts.
n
Flash Read Cache does not support RDMs in physical compatibility. Virtual compatibility RDMs are
supported with Flash Read Cache.
Raw Device Mapping Characteristics
An RDM is a special mapping file in a VMFS volume that manages metadata for its mapped device. The
mapping file is presented to the management software as an ordinary disk file, available for the usual file-
system operations. To the virtual machine, the storage virtualization layer presents the mapped device as
a virtual SCSI device.
Key contents of the metadata in the mapping file include the location of the mapped device (name
resolution), the locking state of the mapped device, permissions, and so on.
RDM Virtual and Physical Compatibility Modes
You can use RDMs in virtual compatibility or physical compatibility modes. Virtual mode specifies full
virtualization of the mapped device. Physical mode specifies minimal SCSI virtualization of the mapped
device, allowing the greatest flexibility for SAN management software.
In virtual mode, the VMkernel sends only READ and WRITE to the mapped device. The mapped device
appears to the guest operating system exactly the same as a virtual disk file in a VMFS volume. The real
hardware characteristics are hidden. If you are using a raw disk in virtual mode, you can realize the
benefits of VMFS such as advanced file locking for data protection and snapshots for streamlining
development processes. Virtual mode is also more portable across storage hardware than physical mode,
presenting the same behavior as a virtual disk file.
In physical mode, the VMkernel passes all SCSI commands to the device, with one exception: the
REPORT LUNs command is virtualized so that the VMkernel can isolate the LUN to the owning virtual
machine. Otherwise, all physical characteristics of the underlying hardware are exposed. Physical mode
is useful to run SAN management agents or other SCSI target-based software in the virtual machine.
Physical mode also allows virtual-to-physical clustering for cost-effective high availability.
VMFS5 and VMFS6 support greater than 2 TB disk size for RDMs in virtual and physical modes.
Dynamic Name Resolution
The RDM file supports dynamic name resolution when a path to a raw device changes.
VMFS uniquely identifies all mapped storage devices, and the identification is stored in its internal data
structures. Any change in the path to a raw device, such as a Fibre Channel switch failure or the addition
of a new HBA, can change the device name. Dynamic name resolution resolves these changes and
automatically associates the original device with its new name.
vSphere Storage
VMware, Inc. 230