SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On



Full db backup fails with BackupMedium::ReportIoError: write failure on backup... Expand / Collapse
Author
Message
Posted Tuesday, June 16, 2009 1:34 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, February 11, 2010 8:01 AM
Points: 65, Visits: 184
Hi, my datable backups keep failing with this error:
BackupMedium::ReportIoError: write failure on backup device 'D:\admin\backup\bx01t_db.DAT'. Operating system error 2(The system cannot find the file specified.).
2009-06-16 15:21:07.14 spid91 Internal I/O request 0x361D3988: Op: Write, pBuffer: 0x08050000, Size: 983040, Position: 450238976, UMS: Internal: 0x103, InternalHigh: 0x0, Offset: 0x1AD61A00, OffsetHigh: 0x0, m_buf: 0x08050000, m_len: 983040, m_actualBytes: 0, m_errcode: 2, BackupFile: D:\admin\backup\bx01t_db.DAT
2009-06-16 15:21:07.14 backup BACKUP failed to complete the command backup database bx01t to disk='D:\admin\backup\bx01t_db.DAT'
From time to time I am able to run a successful backup manually but not always. D drive where it writes to has more than enough free space. other databases backups work, trans log for this failing db works too. DBCC checkdb didn't show any errors. I did few times reindexing on this db and also defrag of the drive itself. Please, help, than you in advance, LL
Post #736000
Posted Tuesday, June 16, 2009 2:40 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:12 PM
Points: 2,019, Visits: 2,777
For your error "write failure on backup device 'D:\admin\backup\bx01t_db.DAT' ... The system cannot find the file specified"

If you open a command prompt on the server and run:
DIR D:\admin\backup\bx01t_db.DAT

Is the file found?

There is the possibility that the D drive has a hardware problem or that the file system is corrupted. To check for file system corruption, run the check disk utility:

chkdsk d:


SQL = Scarcely Qualifies as a Language
Post #736046
Posted Tuesday, June 16, 2009 3:14 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:54 PM
Points: 2,387, Visits: 5,202
To solve this situation in the past where the file is definitely there but you get error 2 (file not found) I have had to physically delete the file from disk and then rerun the backup. I guess the file gets corrupted somehow, seems to happen if a previous backup does not complete successfully.

If its a backup device, drop and recreate the device.
Post #736063
Posted Tuesday, June 16, 2009 3:15 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:54 PM
Points: 2,387, Visits: 5,202
To solve this situation in the past where the file is definitely there but you get error 2 (file not found) I have had to physically delete the file from disk and then rerun the backup. I guess the file gets corrupted somehow, seems to happen if a previous backup does not complete successfully.

If its a backup device, drop and recreate the device.

darn - thats happened twice today
Post #736066
Posted Wednesday, June 17, 2009 9:23 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, February 11, 2010 8:01 AM
Points: 65, Visits: 184
Hi, thank you for your reply, dir command worked, I can see the file.
chck disk showed this
CHKDSK is verifying files (stage 1 of 3)...
43056 file records processed.
File verification completed.
196 large file records processed.
0 bad file records processed.
0 EA records processed.
0 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 3)...
122155 index entries processed.
Index verification completed.
5 unindexed files processed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
43056 security descriptors processed.
Security descriptor verification completed.
750 data files processed.

177734182 KB total disk space.
99538736 KB in 15591 files.
16312 KB in 752 indexes.
44 KB in bad sectors.
114462 KB in use by the system.
65536 KB occupied by the log file.
78064628 KB available on disk.

4096 bytes in each allocation unit.
44433545 total allocation units on disk.
19516157 allocation units available on disk.
I am not sure how to read this 44 KB in bad sector.
Post #736705
Posted Friday, July 03, 2009 5:10 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 17, 2010 4:23 AM
Points: 46, Visits: 243
I just happened to check my SQL Error Log this morning and have found a similar error; the only difference is that my device is being listed as a Virtual Device, and then gives a VNBU0-2689-6785 name. ChkDsk makes sense if it's actually hardware, but what are my options for checking a virtual drive?

I've just noticed as well a subsequent line in my log that reads:

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

...I'm guessing this means that my backups have not been done and therefore I'm sitting vulnerable should anything happen
Post #746925
« Prev Topic | Next Topic »


Permissions Expand / Collapse