虛擬機備份克隆導致SQL Server出現IO錯誤
案例環境:
服務器配置: CPU: Intel E5-2690
RAM: 12G 虛擬機
操作系統 : Windows Server 2008 R2 Standard Edtion x64
數據庫版本: SQL SERVER 2008R2
案例介紹:
晚上收到數據庫一封告警郵件SQL Server Alert System: 'Severity 016' occurred on \\xxxxx。 郵件具體內容如下所示,
- DATE/TIME: 2014/8/13 22:56:11
- DESCRIPTION: BackupVirtualDeviceFile::SendFileInfoBegin: failure on backup device '{0D9AFBD0-3C20-410F-A5E0-B9305296F52A}3'. Operating system error 995(failed to retrieve text for this error. Reason: 15105).
- COMMENT: (None)
- JOB RUN: (None)
于是檢查SQL SERVER的錯誤日志,如下所示(部分具體內容,請見截圖下面內容),
- 日期 2014/8/13 22:56:11
- 日志 SQL Server (存檔編號7 - 2014/8/14 0:00:00)
- 源 Backup
- 消息
- BACKUP failed to complete the command BACKUP DATABASE master. Check the backup application log for detailed messages.
- 日期 2014/8/13 22:56:11
- 日志 SQL Server (存檔編號7 - 2014/8/14 0:00:00)
- 源 spid86
- 消息
- I/O was resumed on database msdb. No user action is required.
- 日期 2014/8/13 22:56:11
- 日志 SQL Server (存檔編號7 - 2014/8/14 0:00:00)
- 源 spid134
- 消息
- Error: 18210, Severity: 16, State: 1.
- 日期 2014/8/13 22:56:11
- 日志 SQL Server (存檔編號7 - 2014/8/14 0:00:00)
- 源 spid134
- 消息
- BackupVirtualDeviceFile::SendFileInfoBegin: failure on backup device '{0D9AFBD0-3C20-410F-A5E0-B9305296F52A}5'. Operating system error 995(failed to retrieve text for this error. Reason: 15105).
檢查系統Application日志,發現如下錯誤信息
有點懷疑是虛擬機的某些操作錯誤導致,大膽假設,小心求證。于是與系統管理員聯系、溝通這件事情時,
發現他那個時間點正在備份、克隆虛擬機。導致這個IO錯誤出現。