Hi,

17.07.2007 10:10,, Mair Wolfgang-awm013 wrote::
> Hello,
> 
> I need help with this.
> 
> What is going on here? Why is this restore failing? Looks like a corrupt
> file. What can I do?
> 
> Thanks
> Wolfgang 
> 
> -----Original Message-----

I'll truncate this a bit to find the relevant parts...
...
> 17-Jul 09:35 porsche-dir: Start Restore Job
...
> 17-Jul 11:38 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error:
> attribs.c:409 File size of restored file /part2/home/sci/ghost/dl3m3b
> not correct. Original 572320521, restored 572329115.

This could be because the file changed its size during backup. While 
this can be a problem in many cases, it doesn't have to be one.

If this bothers you, you'll need to use some sort of snapshot or 
disable the service that's using this file during backup.

> 17-Jul 11:40 linux-install-fd: RestoreFiles.2007-07-17_09.35.44 Error:
> create_file.c:312 Could not hard link /part2/bin/cpio ->
> /part2/var/ftp/bin/cpio: ERR=No such file or directory 17-Jul 11:40

This is probably more of a problem. I think Bacula tries to restore 
the hard link only, but the original file does not exist. This can 
happen if you selectively restore, and in your selection are only file 
entries detected as hard links by bacula, but the file data itself is 
not restored and does no longer exist on disk. In my opinion, Bacula 
should restore the complete file... I'm not sure if an upgrade to a 
more current (beta) version fixes this, but I'm not even sure this is 
the problem :-)

[more hard link problems]

...
> 17-Jul 09:54 porsche-sd: Ready to read from volume "full-13-7-2007.56"
> on device "FileStorage" (/swnet/bacula-dump).
> 17-Jul 09:54 porsche-sd: Forward spacing Volume "full-13-7-2007.56" to
> file:block 0:999936163.
> 17-Jul 09:54 porsche-sd: RestoreFiles.2007-07-17_09.35.44 Error:
> block.c:275 Volume data error at 0:999936163! Wanted ID: "BB02", got
> "x". Buffer discarded.

This is probably a corrupted volume file.

Check the size of the volume file, and try bls to see it's contents.

The reason why it's corrupt is not easily determined. You might try 
looking throuh your logs to see if there were problems with this 
volume earlier...

If you really need that data resored, you can try using bextract to 
get the volume contents back, but I don't think that's very promising.

> 17-Jul 09:54 porsche-dir: RestoreFiles.2007-07-17_09.35.44 Error: Bacula
> 2.0.3 (06Mar07): 17-Jul-2007 09:54:17
>   JobId:                  318
>   Job:                    RestoreFiles.2007-07-17_09.35.44
>   Client:                 linux-install-fd
>   Start time:             17-Jul-2007 09:35:46
>   End time:               17-Jul-2007 09:54:17
>   Files Expected:         274,009
>   Files Restored:         71,899
>   Bytes Restored:         4,794,241,027
>   Rate:                   4315.2 KB/s
>   FD Errors:              12
>   FD termination status:  Error
>   SD termination status:  Error
>   Termination:            *** Restore Error ***
> 
> 17-Jul 09:54 porsche-dir: Begin pruning Jobs.
> 17-Jul 09:54 porsche-dir: No Jobs found to prune.
> 17-Jul 09:54 porsche-dir: Begin pruning Files.
> 17-Jul 09:54 porsche-dir: No Files found to prune.
> 17-Jul 09:54 porsche-dir: End auto prune.

Do other restores run without problems?

Also, try checking (a selection of) your volume files with bls or 
bextract to see if you've got really serious problems.

Personally, I wouldn't worry too much if one volume is damaged - there 
are many possible reasons outside of Bacula for such a case, but if 
you've got this issue with a large number of files I would investigate.

First make sure your OS and file systems don't have problems - 
sometimes, a file system check reveals more problems than you expect :-)

Arno

> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to