Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

RDM

Direct answer

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.

When to use this

Use this when a VMware VM needs direct access to a SAN LUN, typically for clustering.

First 30 seconds

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.

Operational verification

VM → RDM mapping file → LUN

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • 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.
Platform / version applicability
Hypervisor Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformHypervisor Storage
Key commandesxcli storage core device list -d naa.xxxx | grep -i "perennially"
Scope / prerequisiteUse this when a VMware VM needs direct access to a SAN LUN, typically for clustering.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • esxcli storage core device list | grep -i -e 'Is RDM' -e Display — RDM devices
  • vmkfstools -q <rdm>.vmdk — mapping file
  • Get-HardDisk -VM <vm> | ? DiskType -match Raw — PowerCLI
ReferenceHow it works1 section · depth on demand

Virtual vs physical mode

Virtual compatibilityPhysical compatibility
VM snapshotsYesNo
SCSI commandsVirtualisedPassed to the LUN (SAN tools)
Typical useRareWindows 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docHypervisor Storage current

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%
Confirmation

Confirm action

Continue?