Unable to add a physical mode disk mapping (RDM) to a virtual machine stored on an NFS datastore
search cancel

Unable to add a physical mode disk mapping (RDM) to a virtual machine stored on an NFS datastore

book

Article ID: 342579

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • Unable to add a physical mode, or raw disk mapping (RDM) to a virtual machine residing on a data store connected via network file system (NFS) protocol

  • The vSphere Client or VMware Infrastructure (VI) Client reports:

    General System Error
  • The /var/log/vmkernel logs on the VMware ESXi/ESX host report an error similar to:

    NFS: 2243: Unable to create filename.vmdk, nfsclient does not support creation of type: 8
  • This problem can be encountered when relocating a virtual machine from a VMFS datastore to an NFS datastore. The vSphere Client or VMware Infrastructure (VI) Client reports this error when trying to re-attach an RDM:

    A general system error occurred: Internal error and Failed to create virtual disk /vmfs/volumes/path/to/VM/VM_1.vmdk
  • A Storage Migration task fails with a compatibility warning:

    Virtual disk 'Hard disk 1' is a mapped direct-access LUN which is not supported on the datastore 'NFSvol'


Environment

VMware ESXi 4.1.x Installable
VMware ESX Server 3.0.x
VMware ESX 4.0.x
VMware VirtualCenter 2.0.x
VMware vSphere ESXi 6.0
VMware vSphere ESXi 5.5
VMware ESX 4.1.x
VMware vCenter Server 4.0.x
VMware vCenter Server 5.0.x
VMware vCenter Server 4.1.x
VMware ESX Server 3.5.x
VMware vCenter Server 5.5.x
VMware ESXi 3.5.x Embedded
VMware vCenter Server 5.1.x
VMware vCenter Server 6.0.x
VMware ESXi 4.0.x Installable
VMware ESXi 4.0.x Embedded
VMware vSphere ESXi 5.1
VMware VirtualCenter 2.5.x
VMware vSphere ESXi 5.0
VMware ESXi 4.1.x Embedded
VMware ESXi 3.5.x Installable

Resolution

The VMkernel routes physical mode SCSI commands directly over the RDM mapping without any modifications. The RDM vmdk pointer file must reside on a VMFS location, therefore the operation fails because the NFS protocol does not support SCSI commands over this interface.
When adding an RDM to a virtual machine hosted on an NFS datastore, the Store with Virtual Machine option is grayed out in the Add Raw Device Mapping wizard. Select a specific VMFS Datastore from the available list for the location of the pointer file instead.

Additional Information

For translated versions of this article, see: