MS-SQL-Server backup or restore failed with Status Codes 6 or 13. Error 'RequestDurableMedia: Flush failure on backup device' appears in the client system's Application event log

Article: 100022529
Last Published: 2013-10-25
Ratings: 1 1
Product(s): NetBackup

Problem

MS-SQL-Server backup or restore failed with Status Codes 6 or 13. Error 'RequestDurableMedia: Flush failure on backup device' appears in the client system's Application event log

Error Message

From the client system's Application event log:

BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device 'VNBU0-0000-1234-0123456789'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).

 

Cause

This may be due to a SQL Server virtual memory issue or limitation on the Windows client system.

 

Solution

Reduce the value given to the MAXTRANSFERSIZE keyword in the backup script. For example, if it has a value of 6, try a value of 3 or lower (the lowest possible value is 0). 
 
Note:  The MAXTRANSFERSIZE keyword sets the data buffer size used by SQL Server for reading and writing backup images.  The possible values for the MAXTRANSFERSIZE keyword correspond to the following buffer sizes:

0 = 64 KB
1 = 128 KB
2 = 256 KB
3 = 512 KB
4 = 1 MB
5 = 2 MB
6 = 4 MB
 
The issue could also occur with exessive STRIPES or BATCHSIZE values in the .bch file, as these values increase the number of buffers used for the backup.  Try lower values, starting with 2.


If the above do not resolve the issue, it may be necessary to reboot the client system.
 
For more information, please follow the link entitled "Performance tuning for NetBackup for Microsoft SQL Server backups" in the Related Articles section below.
 
 
 

 

 

 

Was this content helpful?