Hello,

my problem seems to be solved. It seems to have something to do with the block 
size. I set both the minimum and the maximum blocksize of the device to 64KB 
and the restore works:

Device {
  Name = TestStorage
  Media Type = File
  Archive Device = /mnt/notfallserver/vollbackup
  LabelMedia = yes; 
  Random Access = Yes;
  AutomaticMount = no; 
  RemovableMedia = no;
  AlwaysOpen = yes;
  RequiresMount = no;
  Minimum Block Size = 65536
  Maximum Block Size = 65536
}

It works with 16KB fixed block size, too. Beforehand I did not set the block 
size.

Greetings,
Sven Hendriks


> > On Monday 26 February 2007 09:50, Sven Hendriks wrote:
> > > Hello,
> > >
> > > I'm running Bacula 2.0.2 built from source on the following system:
> > > XEN 3.0 with Gentoo, Kernel 2.6.16 as Dom0 running bacula-dir and
> > > bacula-sd. One deamon bacula-fd is also running here for test restores.
> > > File system is Ext3. Debian, Kernel 2.6.16 as DomU running one file daemon
> > > for backup. The file system here is XFS. The backups are done from the 
> > > DomU
> > > file daemon and are stored via the storage daemon on a samba share with
> > > NTFS mounted with the cifs option in the Dom0.
> > >
> > > Backups are running well, unfortunately the Restores do not. Everytime I
> > > try to restore a backup sooner or later I get an error message like
> > >
> > > "Error: block.c:317 Volume data error at 0:2068512761!
> > > Block checksum mismatch in block=65353 len=64512: calc=3deeeba7
> > > blk=962bd82e"
> > >
> > > and later
> > >
> > > "Error: attribs.c:409 File size of restored file XXXXX not correct.
> > > Original YYYYY, restored ZZZZZ."
> > >
> > > and Bacula stops.
> > >
> > > I tried to restore from the samba share to the same samba share into
> > > another directory via the file daemon on Dom0 and from the samba share to 
> > > a
> > > XEN DomU with XFS via the file daemon on DomU. In both cases I get the
> > > error messages above. The backups are running at night, so it is very
> > > unlikely that file sizes are changing during backup. I hope my 
> > > descriptions
> > > are not too confusing :-) I have no idea what causes this error and I'd be
> > > grateful for any hint that may help to solve my little problem.
> > >
> > > Greetings,
> > > Sven Hendriks

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to