Write on ……… failed: 112(failed to retrieve text for this error. Reason: 15105)

本文涉及的产品
日志服务 SLS,月写入数据量 50GB 1个月
简介: 早上检查数据库的备份邮件时,发现一台Microsoft SQL Server 2008 R2 (SP2)数据库的Maintenance Report有错误   在SSMS里面执行Exec YourSQLDba.

   早上检查数据库的备份邮件时,发现一台Microsoft SQL Server 2008 R2 (SP2)数据库的Maintenance Report有错误

 

在SSMS里面执行Exec YourSQLDba.Maint.ShowHistoryErrors 729脚本后,发现如下错误信息(数据库名用XXX替代):

<Exec>

  <ctx>yMaint.backups</ctx>

  <cmd>

backup log [XXXX_XXX]

to disk = 'E:\DB_BACKUP\XXXX_XXX_[2015-01-06_02h03m12_Tue]_logs.TRN'

with noInit, checksum, name = 'YourSQLDba:04h10: E:\DB_BACKUP\XXXX_XXX_[2015-01-06_02h03m12_Tue]_logs.TRN'

</cmd>

  <err>Error 3202, Severity 16, level 1 : Write on "E:\DB_BACKUP\XXXX_XXX_[2015-01-06_02h03m12_Tue]_logs.TRN" failed: 112(failed to retrieve text for this error. Reason: 15105)</err>

  <err>Error 3013, Severity 16, level 1 : BACKUP LOG is terminating abnormally.</err>

</Exec>

检查具体的错误日志信息发现如下错误信息:

日期 2015/1/7 6:16:55 
 
日志 SQL Server (当前 - 2015/1/7 0:30:00) 
 
源 Backup 
 
消息 
 
BackupIoRequest::ReportIoError: write failure on backup device 'E:\DB_BACKUP\XXXX_XXX_[2015-01-06_02h03m12_Tue]_logs.TRN'. Operating system error 112(failed to retrieve text for this error. Reason: 15105).
 
日期 2015/1/7 6:16:55 
 
日志 SQL Server (当前 - 2015/1/7 0:30:00) 
 
源 Backup 
 
消息 
 
BACKUP failed to complete the command BACKUP LOG XXXX_XXX. Check the backup application log for detailed messages.
 

 

出现这个“Operating system error 112(failed to retrieve text for this error. Reason: 15105)”错误,意味着数据库事务日志备份失败,具体原因是因为备份的磁盘没有空间了,导致写入磁盘时出现错误。我们另外的一个监控磁盘告警的作业也发出了告警邮件。如下所示:

具体原因是因为其中一个数据库的事务日志文件增长的比较厉害。导致磁盘空间被迅速消化殆尽,因为2小时一次的事务日志备份文件消耗了不少存储空间。

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
相关文章
|
7月前
|
Unix Linux Shell
syntax error: unexpected end of file
syntax error: unexpected end of file
36 0
|
7月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
72 0
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
130 0
|
Linux
error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
112 0
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
83 0
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
100 0
|
机器学习/深度学习 Windows
raise RuntimeError(‘Error(s) in loading state_dict for {}:\n\t{}‘.format( RuntimeError: Error(s)..报错
即load_state_dict(fsd,strict=False) 属性strict;当strict=True,要求预训练练权重层数的键值与新构建的模型中的权重层数名称完全吻合;
1563 0
error: ‘PRIO_PROCESS’ undeclared
error: ‘PRIO_PROCESS’ undeclared
98 0
|
JSON 数据格式
报错:应用json.parseObject()方法时JSONException: syntax error, expect {, actual [, pos 0
报错:应用json.parseObject()方法时JSONException: syntax error, expect {, actual [, pos 0
1093 0
|
SQL HIVE
Hive 报错:Error: Error while compiling statement: FAILED: ParseException line 1:7 Failed to recognize
Hive 报错:Error: Error while compiling statement: FAILED: ParseException line 1:7 Failed to recognize