Bacula-users

[Bacula-users] file count mismatch

2008-09-16 05:07:57
Subject: [Bacula-users] file count mismatch
From: Julien Cigar <jcigar AT ulb.ac DOT be>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 16 Sep 2008 11:06:53 +0200
Hello list,

I'm using Bacula for almost two years now without any major problem.

The director and storage daemons are on a FreeBSD (7.0) machine and the
clients are mostly running Linux (Debian), with some FreeBSD. They're
all running Bacula 2.4.2. The tape drive is a Sony SDX-700C with AIT-3
medias (100/260 GB) :

sa0 at ahc0 bus 0 target 5 lun 0
sa0: <SONY SDX-700C 0103> Removable Sequential Access SCSI-2 device 
sa0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)

The SCSI card is an Adaptec :

ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xec00-0xecff mem
0xdffff000-0xdfffffff irq 18 at device 7.0 on pci0
ahc0: [ITHREAD]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

The only thing I notice every time I restore a job is that the job ends
up with a "Restore OK -- warning file count mismatch".

I wonder if there is not a small bug in the "File Restored" counter,
because I checked carefully if all the files which I expected to be
restored are there, and it's the case.

>From the last restore I made :

16-Sep 10:26 gemini-dir JobId 6: Bacula gemini-dir 2.4.2 (26Jul08):
16-Sep-2008 10:26:14
  Build OS:               i386-portbld-freebsd7.0 freebsd 7.0-RELEASE-p4
  JobId:                  6
  Job:                    rivendell-job-restore.2008-09-16_10.08.21
  Restore Client:         canis-fd
  Start time:             16-Sep-2008 10:08:43
  End time:               16-Sep-2008 10:26:14
  Files Expected:         2,151
  Files Restored:         1,838
  Bytes Restored:         123,795,184
  Rate:                   117.8 KB/s
  FD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Restore OK -- warning file count mismatch

16-Sep 10:26 gemini-dir JobId 6: Begin pruning Jobs.
16-Sep 10:26 gemini-dir JobId 6: No Jobs found to prune.
16-Sep 10:26 gemini-dir JobId 6: Begin pruning Files.
16-Sep 10:26 gemini-dir JobId 6: No Files found to prune.
16-Sep 10:26 gemini-dir JobId 6: End auto prune.

After that I ran (backups/ and www/ are the restored folders):

root@canis:/tmp/var# find backups/ www/ -print | wc -l
2155
root@canis:/tmp/var# find backups/ www/ -type d -print | wc -l
411
root@canis:/tmp/var# find backups/ www/ -type f -print | wc -l
1744

Here's my bacula-sd configuration file (if needed) :

Device {
  Name = "Sony SDX-700C"
  Media Type = "AIT"
  Archive Device = "/dev/nsa0"
  Device Type = tape
  Autochanger = no
  Always Open = yes
  Volume Poll Interval = 30 minutes
  Removable Media = yes
  Random Access = no
  Requires Mount = no
  Hardware End of Medium = no
  Backward Space Record  = no
  Backward Space File    = no
  Fast Forward Space File = no
  BSF at EOM = yes
  Two EOF = yes
}

Thanks,
Julien

-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jcigar AT ulb.ac DOT be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] file count mismatch, Julien Cigar <=