Peter may I ask you to add the fileset used and what kind of filesystem you're 
using 
on -sd and -fd ?


On Wednesday 11 March 2015 15.40:13 [email protected] wrote:
> Hello,
> 
> after a lot more tests, I narrowed the problem down to the following:
> 
> Backup to Disk, Volume size eg. 1MB
> Full Backup of only 1 file (400kB)
> 
> 1st Backup and restore is fine
> 2nd to
> 3rd fails
> 4. fine
> 5. fine
> 6. fail
> 
> It seems that there is the problem when a file spreads over 2 Volumes:
> 
> 11-Mär 23:35 xx-sd JobId 70: Ready to read from volume "B2-Test-0022" on 
> device "BackupBilderSd" (/Backup/Bilder).
> 11-Mär 23:35 xx-sd JobId 70: Forward spacing Volume "B2-Test-0022" to 
> file:block 0:820114.
> 11-Mär 23:35 xx-sd JobId 70: End of Volume at file 0 on device 
> "BackupBilderSd" (/Backup/Bilder), Volume "B2-Test-0022"
> 11-Mär 23:35 xx-fd JobId 70: Error: attribs.c:419 File size of restored file 
> /tmp/bareos-restores/1/12 not correct. Original 409600, restored 344064.
> 11-Mär 23:35 xx-sd JobId 70: Ready to read from volume "B2-Test-0023" on 
> device "BackupBilderSd" (/Backup/Bilder).
> 11-Mär 23:35 xx-sd JobId 70: Forward spacing Volume "B2-Test-0023" to 
> file:block 0:218.
> 11-Mär 23:35 xx-sd JobId 70: End of Volume at file 0 on device 
> "BackupBilderSd" (/Backup/Bilder), Volume "B2-Test-0023"
> 11-Mär 23:35 xx-sd JobId 70: End of all volumes.
> 11-Mär 23:35 xx-dir JobId 70: Error: Bareos xx-dir 14.2.1 (12Sep14):
> 
> 
> 
> Best regards,
> Peter
> 
> 
> On Wednesday, March 11, 2015 at 2:41:42 PM UTC+1, Bruno Friedmann wrote:
> > On Tuesday 10 March 2015 14.24:02 peter wrote:
> > > Hello Bruno,
> > > 
> > > the -fd is on another computer. I tested restore to the local one (where 
> > > dir and sd are running) and get the same error.
> > > 
> > > More tests I did:
> > > I created a random file like above on the local computer in an otherwise 
> > > empty dir and set up a new job. Backing this up also creates the error.
> > > 
> > Hi Peter.
> > Look like a bug that should be reported to bugs.bareos.org 
> > 
> > I'm under pressure this week, so not able to run the test myself before 
> > next one. 
> > If you enter a bug, please report the number here too, so interested people 
> > can jump on it.
> > 
> > > 
> > > Am Dienstag, 10. März 2015 15:05:05 UTC+1 schrieb peter:
> > > > Hello Bruno,
> > > > 
> > > > thank you for your reply. I'll try to test it this evening. Yesterday, 
> > > > I did some more tests:
> > > > 
> > > > Update:
> > > > 
> > > > I copied the zip-File to zip-file2 within the same folder. Now bareos 
> > > > restore is complaining about both files with incorrect size.
> > > > 
> > > > Update2:
> > > > 
> > > > I created a file with the same size:
> > > > dd if=/dev/urandom of=/tmp/G.zip bs=1 count=288559239
> > > > This also causes the problem. Maybe somebody can reproduce it?
> > > > 
> > > > 
> > > > Am Dienstag, 10. März 2015 07:49:45 UTC+1 schrieb Bruno Friedmann:
> > > > > On Monday 09 March 2015 22.18:48 Peter Bungert wrote:
> > > > > > Hello everybody,
> > > > > > 
> > > > > > I did the following:
> > > > > > 
> > > > > > Backup of a folder with ~500 files
> > > > > > Restore of this folder
> > > > > > 
> > > > > > However, the restore failed, complaining about an incorrect 
> > > > > > filesize (see
> > > > > > below) of a zip-file.
> > > > > > The difference is exactly 65536 bytes (= 2^16).
> > > > > > 
> > > > > > I checked this file, which is basically a collection of pictures, 
> > > > > > and only
> > > > > > one of them was wrong.
> > > > > > 
> > > > > > 
> > > > > > Now I'm worried that this might happen again with other files. 
> > > > > > Please tell
> > > > > > me which other info you need. To examine this problem.
> > > > > > 
> > > > > > Best regards,
> > > > > > Peter
> > > > > > 
> > > > > > --backupjob----------------------------------
> > > > > > 09-Mär 18:40 backuppc-dir JobId 53: No prior Full backup Job record 
> > > > > > found.
> > > > > > 09-Mär 18:40 backuppc-dir JobId 53: No prior or suitable Full 
> > > > > > backup found
> > > > > > in catalog. Doing FULL backup.
> > > > > > 09-Mär 18:40 backuppc-dir JobId 53: Start Backup JobId 53,
> > > > > > Job=B-Test.2015-03-09_18.40.12_04
> > > > > > 09-Mär 18:40 backuppc-dir JobId 53: Created new Volume 
> > > > > > "B-Test-0022" in
> > > > > > catalog.
> > > > > > 09-Mär 18:40 backuppc-dir JobId 53: Using Device "BackupBilderSd" 
> > > > > > to write.
> > > > > > 09-Mär 18:40 backuppc-sd JobId 53: Labeled new Volume "B-Test-0022" 
> > > > > > on
> > > > > > device "BackupBilderSd" (/Backup/Bilder).
> > > > > > 09-Mär 18:40 backuppc-sd JobId 53: Wrote label to prelabeled Volume
> > > > > > "B-Test-0022" on device "BackupBilderSd" (/Backup/Bilder)
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: User defined maximum volume 
> > > > > > capacity
> > > > > > 524,288,000 exceeded on device "BackupBilderSd" (/Backup/Bilder).
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: End of medium on Volume 
> > > > > > "B-Test-0022"
> > > > > > Bytes=524,224,726 Blocks=8,126 at 09-Mar-2015 18:41.
> > > > > > 09-Mär 18:41 backuppc-dir JobId 53: Created new Volume 
> > > > > > "B-Test-0023" in
> > > > > > catalog.
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: Labeled new Volume "B-Test-0023" 
> > > > > > on
> > > > > > device "BackupBilderSd" (/Backup/Bilder).
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: Wrote label to prelabeled Volume
> > > > > > "B-Test-0023" on device "BackupBilderSd" (/Backup/Bilder)
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: New volume "B-Test-0023" mounted 
> > > > > > on
> > > > > > device "BackupBilderSd" (/Backup/Bilder) at 09-Mar-2015 18:41.
> > > > > > 09-Mär 18:41 backuppc-sd JobId 53: Elapsed time=00:01:18, Transfer
> > > > > > rate=11.56 M Bytes/second
> > > > > > 09-Mär 18:41 backuppc-dir JobId 53: Bareos backuppc-dir 14.2.2 
> > > > > > (12Dec14):
> > > > > >   Build OS:               i486-pc-linux-gnu debian Debian GNU/Linux 
> > > > > > 7.0
> > > > > > (wheezy)
> > > > > >   JobId:                  53
> > > > > >   Job:                    B-Test.2015-03-09_18.40.12_04
> > > > > >   Backup Level:           Full (upgraded from Incremental)
> > > > > >   Client:                 "B-Test_Client" 14.2.2 (12Dec14)
> > > > > > x86_64-pc-linux-gnu,debian,Debian GNU/Linux 7.0 (wheezy)
> > > > > >   FileSet:                "B-Testordner" 2015-03-09 18:40:12
> > > > > >   Pool:                   "FilesB-TestPool" (From Job resource)
> > > > > >   Catalog:                "MyCatalog" (From Client resource)
> > > > > >   Storage:                "BackupB-Test" (From Job resource)
> > > > > >   Scheduled time:         09-Mär-2015 18:40:10
> > > > > >   Start time:             09-Mär-2015 18:40:14
> > > > > >   End time:               09-Mär-2015 18:41:33
> > > > > >   Elapsed time:           1 min 19 secs
> > > > > >   Priority:               10
> > > > > >   FD Files Written:       491
> > > > > >   SD Files Written:       491
> > > > > >   FD Bytes Written:       901,758,582 (901.7 MB)
> > > > > >   SD Bytes Written:       901,767,410 (901.7 MB)
> > > > > >   Rate:                   11414.7 KB/s
> > > > > >   Software Compression:   None
> > > > > >   VSS:                    no
> > > > > >   Encryption:             no
> > > > > >   Accurate:               yes
> > > > > >   Volume name(s):         B-Test-0022|B-Test-0023
> > > > > >   Volume Session Id:      1
> > > > > >   Volume Session Time:    1425921351
> > > > > >   Last Volume Bytes:      378,267,542 (378.2 MB)
> > > > > >   Non-fatal FD errors:    0
> > > > > >   SD Errors:              0
> > > > > >   FD termination status:  OK
> > > > > >   SD termination status:  OK
> > > > > >   Termination:            Backup OK
> > > > > > 
> > > > > > ---------------------------------------------------
> > > > > > --restore---------------------------------------
> > > > > > 09-Mar 21:39 backuppc-dir JobId 61: Start Restore Job
> > > > > > RestoreFiles.2015-03-09_21.39.34_05
> > > > > > 09-Mar 21:39 backuppc-dir JobId 61: Using Device "BackupBilderSd" 
> > > > > > to read.
> > > > > > 09-Mar 21:39 backuppc-sd JobId 61: Ready to read from volume 
> > > > > > "B-Test-0022"
> > > > > > on device "BackupBilderSd" (/Backup/Bilder).
> > > > > > 09-Mar 21:39 backuppc-sd JobId 61: Forward spacing Volume 
> > > > > > "B-Test-0022" to
> > > > > > file:block 0:214.
> > > > > > 09-Mar 21:40 backuppc-sd JobId 61: End of Volume at file 0 on device
> > > > > > "BackupBilderSd" (/Backup/Bilder), Volume "B-Test-0022"
> > > > > > 09-Mar 21:40 backuppc-sd JobId 61: Ready to read from volume 
> > > > > > "B-Test-0023"
> > > > > > on device "BackupBilderSd" (/Backup/Bilder).
> > > > > > 09-Mar 21:40 backuppc-sd JobId 61: Forward spacing Volume 
> > > > > > "B-Test-0023" to
> > > > > > file:block 0:214.
> > > > > > 09-Mar 21:40 pd-fd_name_unimportant JobId 61: Error: attribs.c:419 
> > > > > > File
> > > > > > size of restored file
> > > > > > /tmp/bareos-restores/home/peter/Bilder/201409_KletternGrimsel/1409Granit.zip
> > > > > > not correct. Original 288559239, restored 288493703.
> > > > > > 09-Mar 21:40 backuppc-sd JobId 61: End of Volume at file 0 on device
> > > > > > "BackupBilderSd" (/Backup/Bilder), Volume "B-Test-0023"
> > > > > > 09-Mar 21:40 backuppc-sd JobId 61: End of all volumes.
> > > > > > 09-Mar 21:40 backuppc-dir JobId 61: Error: Bareos backuppc-dir 
> > > > > > 14.2.2
> > > > > > (12Dec14):
> > > > > >   Build OS:               i486-pc-linux-gnu debian Debian GNU/Linux 
> > > > > > 7.0
> > > > > > (wheezy)
> > > > > >   JobId:                  61
> > > > > >   Job:                    RestoreFiles.2015-03-09_21.39.34_05
> > > > > >   Restore Client:         B-Test_Client
> > > > > >   Start time:             09-Mar-2015 21:39:36
> > > > > >   End time:               09-Mar-2015 21:40:55
> > > > > >   Elapsed time:           1 min 19 secs
> > > > > >   Files Expected:         491
> > > > > >   Files Restored:         491
> > > > > >   Bytes Restored:         901,693,046
> > > > > >   Rate:                   11413.8 KB/s
> > > > > >   FD Errors:              1
> > > > > >   FD termination status:  Error
> > > > > >   SD termination status:  OK
> > > > > >   Termination:            *** Restore Error ***
> > > > > > 
> > > > > > ---------------------------------------------------
> > > > > > 
> > > > > Are -dir -sd -fd the same computer?
> > > > > 
> > > > > Peter did you try 2 things :
> > > > > First try to restore to another -fd would tell you if the -fd has a 
> > > > > trouble or the storage. 
> > > > > 
> > > > > I've seen one time this kind of error, and the result was bad 
> > > > > motherboard and memory....
> > > > > 
> > > 
> > > 
> > 
> 
> 

-- 

Bruno Friedmann 
Ioda-Net Sàrl www.ioda-net.ch
 
 openSUSE Member & Board, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to