SnapDrive for Windows 无法在 vSphere 6.5 中挂载 RDM LUN ,因为路径限制为 1024 - 无法通过原始设备映射添加虚拟磁盘
适用于
SnapDrive for Windows 7.1.4/7.1.5
VMware vSphere 6.5
问题
尝试使用 SnapDrive for Windows 挂载 RDM LUN 失败,并生成错误
Failed to create disk in virtual machine, Failed to Map virtual disk: The ESX cannot have more than 1024 paths.
查看 SnapDrive 调试日志可显示类似于以下内容的条目: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.
查看 VirtualizationAPI 日志可显示类似于以下内容的条目: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 窗口的应用程序事件日志会显示类似于以下内容的条目:
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