RDM Mapping File Dependencies During Storage Snapshot Restoration
search cancel

RDM Mapping File Dependencies During Storage Snapshot Restoration

book

Article ID: 438652

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Determine whether a Raw Device Mapping (RDM) pointer file (.rdmp) requires restoration or recreation when reverting the underlying LUN to a storage-level snapshot. If identifiers change during a storage array revert, the RDM disk becomes inaccessible to the virtual machine.

Environment

VMware vSphere 8.X

Resolution

For the existing RDM mapping file to remain functional after a storage snapshot restoration, the following dependencies must be satisfied:

  • VML ID: The disk identifiers must remain identical to the state captured in the original mapping file.

  • LUN ID: The LUN number presented by the storage array and recognized by the ESXi host must not change.

  • LUN Size and Settings: The physical size of the RDM LUN and its settings (SCSI controllers, compatibility mode, disk sharing mode) must remain constant. Any increase or decrease in size renders the pointer file inconsistent.

Restoration Steps

  1. Restore the storage-level snapshot of the RDM LUN according to the storage vendor's documentation.

  2. Retain the existing mapping file (.rdmp). No manual recovery of the pointer file is required if the device identifiers remain static.

  3. Recreate the mapping file if a change in the LUN ID, VML ID, or LUN size occurs during the restoration process.

Additional Information

Determining the VML, LUN ID, and unique identifier of a missing RDM disk

Correlating VML ID with naa ID in ESXi 7.0.x or later

Migrating Virtual Machines with attached RDMs fails with the error "Storage vMotion failed to create the destination disk"