Error writing to VHD-File

Hi!

First of all let me tell you that this project really kicks ass!
I’ve been using it for about 2 months without any problem, but now that I upgraded one of my machines to Windows 8 creating an Image fails with the following message every time:

Log (myPC)Level Zeitpunkt Nachricht
Info 07.11.12 13:14 Starting full image backup…
Info 07.11.12 13:15 Transferred 29.8712 MB - Average speed: 33.603 MBit/s
Fehler 07.11.12 14:37 FATAL: Error writing to VHD-File.
Info 07.11.12 14:37 Transferred 73.7927 GB - Average speed: 127.998 MBit/s
Info 07.11.12 14:37 Time taken for creating image of client Crosshair: 1h 22m 45s
Fehler 07.11.12 14:37 Backup not complete because of connection problems

I am using the latest server/client versions (1.01). An Image Backup of my Win7 laptop just completed succesfully.

The image creation on the win8 machine copies the tmp files succesfully and starts creating the vhd file, that grows in size but finally fails and is not even deleted - shouldn’t the vhd file be deleted if backup doesn’t complete succesfully?

Tried other physical disks as well - no difference. File Backups work on both machines.

Do you need anything else so that you can find the culprit?

Thank you very much for that project again!

Best regards
Albert

Thanks for using it!

[quote=“albertiniii”]
The image creation on the win8 machine copies the tmp files succesfully and starts creating the vhd file, that grows in size but finally fails and is not even deleted - shouldn’t the vhd file be deleted if backup doesn’t complete succesfully?[/quote]

It should be deleted during the next cleanup.

The Log messages in front of “FATAL: Error writing to VHD-File.” in the server log file would be interesting. C:\Program files\UrBackupServer\urbackup.log on Windows and /var/log/urbackup.log on Linux per default.
How much of the drive do you use on Windows 8, and how big is the VHD file when it fails?

here u go:

[quote=""]2012-11-05 16:25:09: ERROR: Writing to file failed
2012-11-05 16:25:09: ERROR: FATAL: Error writing to VHD-File.
2012-11-05 16:25:09: ERROR: Error writing footer
2012-11-05 16:25:10: ERROR: Backup not complete because of connection problems
2012-11-05 16:25:35: ERROR: Error while calculating tree diff. Doing full backup.
2012-11-05 16:33:23: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0006.vhd’
2012-11-05 16:33:23: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0354.vhd’
2012-11-05 16:33:23: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0516.vhd’
2012-11-05 16:33:23: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1031.vhd’
2012-11-05 16:33:24: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1157.vhd’
2012-11-05 16:33:24: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1203.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0006.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0354.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-0516.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1031.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1157.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1203.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1441.vhd’
2012-11-06 16:20:40: ERROR: Error opening file ‘E:\Backup\Crosshair\Image_SYSVOL_121105-1638.vhd’
[/quote]

70gb of 128gb are used on the win8 drive. backup drive has >200gb free.

edit: the vhd file is about 58gb when it fails.

I’ve been looking into it, but so far have not come up with something that could cause this kind of failure.

Are you using the Server on Windows or Linux?

Currently testing a Windows 8 PC as well, but I doubt it has anything to do with Windows 8.

the server is running win7 x64.

Just had a succesfull image when using an internal hdd - strange, as I used an external for 2 months without problems…
trying another hdd just to exclude the possibility of a hdd failure.

I can give you a version that logs the error message Windows returns on the write call, if you want to retry it.

that would be great. of course I’d try… ;)

Uploaded it here: https://sourceforge.net/projects/urbackup/files/Server/1.1RC/

Thank you.

Unfortunately I can’t reproduce the error since I moved backups to a faster external HDD (usb3, old one was usb2). So far all backups succeeded. I will of course let you know if the error occurs again and provide the log. ;)