跳转到主内容

SMSQL无法通过"添加原始设备映射时出错"来验证备份

Views:
1
Visibility:
Public
Votes:
0
Category:
snapmanager-for-microsoft-sql-server<a>2008693196</a><a>进行翻译</a>
Specialty:
snapx
Last Updated:

适用场景

  • SnapManager for Microsoft SQL Server ( SMSQL ) 7.2.3
  • 适用于Windows的SnapDrive (SCW) 7.1.5
  • 原始设备映射(RDM)

问题描述

  • SMSQL无法通过""验证备份Failed to Map virtual disk: Error Adding Raw Device Mapping
  • 备份报告显示SMSQL无法挂载快照、并显示错误"Failed to Map virtual disk: Error Adding Raw Device Mapping"。

示例:[<HOST>] Starting SDAPI mount snapshot...
[<HOST>] Preparing LUN '<PATH>', for SDAPI operation...
[<HOST>] Mounting snapshot: <SNAPSHOT>
[<HOST>] Snapshot mount failed.
[<HOST>] [SDAPI Communication Exception]: Failed to create disk in virtual machine, Failed to Map virtual disk: Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID>.

[<HOST>] SDAPI failed to mount snapshot.
[<HOST>] [SDAPI Communication Exception]: Failed to create disk in virtual machine, Failed to Map virtual disk: Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID>.


[<HOST>] Error Code: 0x80004005 
Unspecified error

  • Snpdrvdbg.log 显示""Failed to Map virtual disk: Error Adding Raw Device Mapping并显示错误代码 0x80004005

示例:
PID:<PID>   TID:<TID>   FCPVdisk.cpp@4091      CFCPVdisk::CreateRawDeviceMapping() Lun Path=<LUN_PATH> : FilerName:<VSERVER_NAME>
PID:<PID>   TID:<TID>   FCPVdisk.cpp@4093      CFCPVdisk::CreateRawDeviceMapping() Lun Serial No=<LUN_SERIAL_NO>
PID:<PID>   TID:<TID>   FCPVdisk.cpp@4095      CFCPVdisk::CreateRawDeviceMapping() DataStore name=<DATASTORE>
PID:<PID>   TID:<TID>   FCPVdisk.cpp@4121      Failed to Add the virtual Disk through raw device mapping, , error code: '0x80004005', error description: 'Failed to Map virtual disk: Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID>'

PID:<PID>   TID:<TID>   localerror.cpp@82      Is_VDS_ITF_Error(): false.
PID:<PID>   TID:<TID>   localerror.cpp@94      Is_WMI_ITF_Error(): false.
PID:<PID>   TID:<TID>   FCPVdisk.cpp@4123      Failed to create disk in virtual machine, Failed to Map virtual disk: Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID>.
 HRESULT 0xc00403e3.

 

  • VirtualizationAPI.log 显示""Error Adding Raw Device Mapping -GetLunInformation returned false

示例:
VirtualizationAPILog Critical: 1 :   <TIMESTAMP> PID:<PID> TID:<TID> @-1  Finish CEsxServer::GetLunInformation() returned False
VirtualizationAPILog Critical: 1 :   <TIMESTAMP> PID:<PID> TID:<TID> @-1  CEsxServer::MapVirtualDisk() - GetLunInformation returned invalid entries:Lun Serial No:<LUN_SERIAL_NO>,LunID:<LUNID>
VirtualizationAPILog Critical: 1 :   <TIMESTAMP> PID:<PID> TID:<TID> @-1  CEsxServer::MapVirtualDisk() -  Name : Exception Message : Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID> Trace : 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 :<DATASTORE>
VirtualizationAPILog Critical: 1 :   <TIMESTAMP> PID:<PID> TID:<TID> @-1  CVirtualServer::MapVirtualDisk() - Failed to Add virtual disk: Exception message: Error Adding Raw Device Mapping -GetLunInformation returned false-<LUN_SERIAL_NO><LUNID>

 

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.
Scan to view the article on your device