Adding an RDM to a virtual machine fails with the error: File [datastorename] foldername/filename.vmdk is larger than the maximum size supported by datastore
book
Article ID: 308102
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
Unable to add an RDM to a virtual machine
Adding an RDM to a virtual machine fails
The ADD RDM wizard fails
You see the error:
File [datastorename] foldername/filename.vmdk is larger than the maximum size supported by datastore
In the vmkernel (ESX) or in messages (ESXi) log, you see messages similar to:<CONTENT style="FONT: 12px Arial,Helvetica,sans-serif,'Bitstream Vera Sans'"></CONTENT>
Nov 24 17:24:52 vmkernel: 1:05:16:01.463 cpu16:4508)WARNING: NMP: nmpDeviceAttemptFailover: Retry world failover device "naa.6006016011802600ae12973ac6f7df11" - failed to issue command due to Not found (APD), try again...
This situation can occur when a LUN becomes inaccessible due to space constraints on the volume, or the RDM device is full.
This situation can occur when an active datastore LUN or existing RDM LUN is in an All Paths Down (APD) condition.
Resolution
When creating an RDM for a virtual machine, ESX/ESXi must create an RDM pointer file for the virtual machine configuration file (VMX) to reference.
The datastore on which you are placing the pointer file must have a blocksize capable of supporting a filesize that is equivalent to the size of the RDM. For more information regarding block size limitations, see the Configuration Maximums for VMware vSphere guide.
This issue can also occur when the RDM is a supported file size. For example, you may have a problem recreating an RDM pointer file on a datastore with a 1MB block size when the RDM itself is 100GB. An RDM pointer file to the same RDM may have resided in that datastore previously, but the datastore (LUN) had been deleted so that it could be freshly created.
The error occurs when trying to re-create the RDM pointer file because it is not able to access the LUN in question. A rescan restores LUN access and the RDM can then be added.
Ensure that the APD situation is resolved, and retry adding the RDM to the virtual machine. For more information, see Troubleshooting LUN connectivity issues.