Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Advertise
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Backups
»
Full db backup fails with...
Full db backup fails with BackupMedium::ReportIoError: write failure on backup...
Rate Topic
Display Mode
Topic Options
Author
Message
L_avital
L_avital
Posted Tuesday, June 16, 2009 1:34 PM
Valued 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
Carl Federl
Carl Federl
Posted Tuesday, June 16, 2009 2:40 PM
SSCrazy
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
george sibbald
george sibbald
Posted Tuesday, June 16, 2009 3:14 PM
SSCrazy
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
george sibbald
george sibbald
Posted Tuesday, June 16, 2009 3:15 PM
SSCrazy
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
L_avital
L_avital
Posted Wednesday, June 17, 2009 9:23 AM
Valued 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
darth.pathos
darth.pathos
Posted Friday, July 03, 2009 5:10 AM
SSC 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
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2010 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use