Skip to main content
NetApp Knowledge Base

Snapdrive for Windows fails to mount a RDM LUN in vSphere 6.5 due to a 1024 path limitation - Failed to Add the virtual Disk through raw device mapping

Views:
297
Visibility:
Public
Votes:
0
Category:
snapdrive-for-windows
Specialty:
legacy
Last Updated:

Applies to

Snapdrive for Windows 7.1.4/7.1.5
VMware vSphere 6.5

Issue

Attempts to mount a RDM LUN using Snapdrive for Windows fails, generating an error 

Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.

Review of the Snapdrive debug logs shows entires similar to the following:

05/08-14:55:46.815    PID:7184    TID:2232    FCPVdisk.cpp@4121        Failed to Add the virtual Disk through raw device mapping, , error code: '0x80004005', error description: 'Failed to Map virtual disk: The ESX cannot have more than 1024 paths'
05/08-14:55:46.815    PID:7184    TID:2232    FCPVdisk.cpp@4123        Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.
 HRESULT 0xc00403e3.

 
Review of the VirtualizationAPI log shows entries similar to the following:

VirtualizationAPILog Critical: 1 :    05/08-15:02:33.190  PID:9516  TID:8728 @-1  CEsxServer::GetLunInformation()  Name : COMException Message : The ESX cannot have more than 1024 paths Trace :    at VirtualizationAPI.CEsxServer.GetLunInformation(String strLunSerialNo, UInt32 nLunId, String& strDeviceName, String& strLUNuuid, EnumAdapterType eAdapterType, String strInitiatorName)
VirtualizationAPILog Critical: 1 :    05/08-15:02:33.190  PID:9516  TID:8728 @-1  CEsxServer::MapVirtualDisk() -  Name : COMException Message : The ESX cannot have more than 1024 paths Trace :    at VirtualizationAPI.CEsxServer.GetLunInformation(String strLunSerialNo, UInt32 nLunId, String& strDeviceName, String& strLUNuuid, EnumAdapterType eAdapterType, String strInitiatorName)
   at VirtualizationAPI.CEsxServer.MapVirtualDisk(String strLunSerialNo, UInt32 nLunId, String strDataStoreName, String strFilerName, UInt64 nSizeInKB, Boolean bRDMFileSpecified, String strRDMFileName, Boolean bShared, EnumAdapterType eAdapterType, String strInitiatorName, UInt32& nControllerKey)Datastore :<DS ID>

   
Review of the Window's Application Event logs show entries similar to the following:

Event ID 1120 
The following information was included with the event: 


/vol/volumename/
HTTPS

X
X
Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.

Failure in connecting to the LUN

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.