Pcornel
Storage · Hypervisor Storage › VMware Storage

RDM

Cheat sheet · https://pcornel.dk/topic.php?topic=4207

Back to the Topic

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.

Remember

  • 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.

First 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

Verify in this order

VM → RDM mapping file → LUN

Where it usually breaks

First mismatch in provider/pool → virtual/logical disk → host/guest mapping → partition/filesystem → mount/drive → workload; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4207

Confirmation

Confirm action

Continue?