Use this when a VMware VM needs direct access to a SAN LUN, typically for clustering.
RDM
An RDM (raw device mapping) gives a VMware VM direct access to a SAN LUN through a mapping file on VMFS. Physical-mode RDMs are mainly kept for clustering and SAN-aware applications.
1. RDM maps a LUN directly to a VM.
2. Physical mode: SCSI passthrough (clusters); virtual mode allows snapshots.
3. Pins VM to hosts seeing the LUN.
4. Usually not needed for performance.
5. Document RDMs.
VM → RDM mapping file → LUN
Context & applicabilityCommon mistakes · platform/version boundaries
- Physical-mode RDMs blocking snapshots and therefore VM-level backup.
- LUN IDs inconsistent across hosts, breaking vMotion.
- Using RDMs out of habit — VMDKs now support large sizes and similar performance.
- Forgetting to mark RDM LUNs as perennially reserved for MSCS/WSFC, causing slow host boots.
Operational reference
Fast context before you go deeper.
esxcli storage core device list -d naa.xxxx | grep -i "perennially"Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
esxcli storage core device list -d naa.xxxx | grep -i "perennially"
vmkfstools -q /vmfs/volumes/ds1/vm01/vm01_rdm.vmdk
The second command shows which LUN an RDM mapping file points to and whether it is in physical or virtual compatibility mode.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Physical-mode RDMs pass SCSI commands through and block snapshots.
- Virtual-mode RDMs allow snapshots.
- All hosts must see the LUN with the same ID.
esxcli storage core device list | grep -i -e 'Is RDM' -e Display— RDM devicesvmkfstools -q <rdm>.vmdk— mapping fileGet-HardDisk -VM <vm> | ? DiskType -match Raw— PowerCLI
ReferenceHow it works1 section · depth on demand
Virtual vs physical mode
| Virtual compatibility | Physical compatibility | |
|---|---|---|
| VM snapshots | Yes | No |
| SCSI commands | Virtualised | Passed to the LUN (SAN tools) |
| Typical use | Rare | Windows failover clusters across hosts, SAN management |
vMotion works with both. In new designs, VMDKs or vVols are usually preferred.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
An RDM (Raw Device Mapping) gives a VM direct access to a LUN through a mapping file on VMFS. Virtual compatibility mode supports snapshots; physical mode passes SCSI commands through (needed for some guest clustering and SAN management software) but blocks VM snapshots and many backup methods.
vmkfstools -z /vmfs/devices/disks/naa.600… /vmfs/volumes/ds1/vm1/vm1_rdm.vmdk # physical
vmkfstools -r /vmfs/devices/disks/naa.600… /vmfs/volumes/ds1/vm1/vm1_rdm.vmdk # virtual
Shared VMDKs with multi-writer or clustered VMDK on VMFS now cover most Windows Server Failover Cluster use cases that once required RDMs.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → VMware Storage → RDM. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%