SMSQL fails to verify backup by "Error Adding Raw Device Mapping"
- Views:
- 148
- Visibility:
- Public
- Votes:
- 0
- Category:
- snapmanager-for-microsoft-sql-server
- Specialty:
- snapx
- Last Updated:
Applies to
- SnapManager for Microsoft SQL Server (SMSQL) 7.2.3
- SnapDrive for Windows (SCW) 7.1.5
- Raw Device Mapping (RDM)
Issue
- SMSQL fails to verify backup by "
Failed to Map virtual disk: Error Adding Raw Device Mapping
". - Backup report shows SMSQL fails to mount snapshot by the error "
Failed to Map virtual disk: Error Adding Raw Device Mapping
".
Example:[<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
shows "Failed to Map virtual disk: Error Adding Raw Device Mapping
" with error code0x80004005
.
Example:
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
shows "Error Adding Raw Device Mapping -GetLunInformation returned false
".
Example:
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>