Failed to close vdi
JeffatWork
Posts: 7
Thread 0 error:
Below is the error I receive when trying to backup a database with RedGate. I had a generic error and then upgraded to 4.2. Does anyone have any idea how I can move past this or what the problem may be?
Thanks...
Below is the error I receive when trying to backup a database with RedGate. I had a generic error and then upgraded to 4.2. Does anyone have any idea how I can move past this or what the problem may be?
Thanks...
Process terminated unexpectedly. Error code: -2139684860
Server: Msg 3013
BACKUP DATABASE is terminating abnormally.
Failed to close vdi.
SQL Backup exit code: 1050
SQL error code: 3013
(12 row(s) affected)
name,value
exitcode,1050
sqlerrorcode,3013
filename01,L:\msdb_Full_rg.bak
Comments
We are working on tracking this one down at the moment. I suspect that this has crept into the 4.2 extended stored procedure code.
exec master..sqbmemory
and post the results? Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I discoverd that the databas was still (2.8 GB ) loading on the secondairy machine where the error was raised when sqb transaction logs where restored.. This raised this same error. I will retry the restores again after the first initial restore is loaded and fully (readonly) operational.. I guess the error will dissapear then.
[edit]
I do have a different error description just mailed to me:
09/05/2006 17:50:01: Thread 0 error:
Process terminated unexpectedly. Error code: -2139684860
09/05/2006 17:50:01: Server: Msg 3013
BACKUP LOG is terminating abnormally.
09/05/2006 17:50:01: Server: Msg 3241
The media family on device 'SQLBACKUP_BBE3F288-793E-42C5-B181-B7157546D398' is incorrectly formed. SQL Server cannot process this media family.
09/05/2006 17:50:01: Failed to close vdi.
[/edit]
so I might just have another issue then...
Type Minimum Maximum Average Blk count Total
Commit 4096 66547712 0 20873 -1506115584
Reserve 4096 4128768 22242 17571 390819840
Free 4096 2011136 132128 314 41488384
Private 4096 66547712 0 37858 -1155485696
Mapped 4096 1019904 123881 45 5574656
Image 4096 5808128 63983 541 34615296
Whatcha think?
SQL Backup Project Manager
Red Gate Software
Your largest contiguous block of free memory is 2011136 bytes. That's under 2 MB. SQL Backup by default requires SQL Server to be able to use approximately 6.5 MB of contiguous free memory. That would explain the error message in vdi.log.
The amount of memory required is determined in part by the MAXTRANSFERSIZE value. By default, this is 1 MB. In build 510, you can use any value from 65536 to 1048576, in increments of 65536 bytes (see the link provided by Helen).
In your case, I think you could use a MAXTRANSFERSIZE value of up to 256 KB, given that SQL Server usually allocates 6 buffers of the given MAXTRANSFERSIZE value (+ some overhead).
A higher MAXTRANSFERSIZE value allows for better compression, while a lower MAXTRANSFERSIZE value would ensure that backups get made even in low memory conditions.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks for the input. I knew there was a reason we are getting off of Litespeed :twisted:
Petey..I assumed the memory numbers were going to be strange and knew there were contiguous memory issues.
Thanks!!
SQL Backup Project Manager
Red Gate Software