On Friday 08 December 2006 21:38, Forrest England wrote: > Hi there, I work with Rob Ostrander, the initiator of this thread. > I've also been working on the problem of bacula reporting that > the number of VolumeFiles mismatch between the volume and the catalog. > > After reading the manual thoroughly and poking around the web, I'm still not sure > what VolumeFiles referrs to. > > an example: I did a test backup job of 101 files on a fresh tape which completed successfully: > FD Files Written: 101 > SD Files Written: 101 > afterwards I attempted to do a second backup job on the same tape, but got the familiar error message:
Volume Files and FD/SD Files written are not the same thing. > > 08-Dec 13:36 vtsan1-sd: test.2006-12-08_13.36.27 Error: I cannot write on Volume "TestVolume" because: > The number of files mismatch! Volume=0 Catalog=1 > > I updated the VolumeFiles for this tape in the catalog to 0 and did a second backup job. > I restored and verified both backup jobs without any problem. > > what does VolumeFiles correspond to? It's obviously not the number of actual files on the tape. > is it supposed to correspond to the number of jobs on a tape? It is supposed to be the number of files on the tape. If your Volume value ended up greater than the Catalog, then I would suspect a Bacula bug. However, the fact that it is smaller that what the catalog says and that you reset it to zero and everything works, indicates to me that your Device resource is misconfigured. Have you ever ran the btape "test" and "fill" commands? > > anyway, many people seem to have this VolumeFiles mismatch problem. we have it on 3 different servers > with 3 different tape changers, so I'm going to file a bug report. I think you should do some testing on your system before filing a bug report for several reasons: 1. Although Alan reports the same problem and points out a plausible reason involving multiple simultaneous jobs, some of which wait, your report does not seem to correspond to his or in any case you never mentioned that it involves multiple simultaneous job, ... 2. I have been monitoring these lists for 5 years now (since they started) reading *every* email and I cannot say that there are "many" people with this problem. 3. If you had to set your Volume files from 1 to zero in the catalog to get everything working, then my suspicion is that you have a serious configuration problem. 4. If you run a single job and get this problem, and it happens repeatedly, then I'll be *very* surprised if btape test works. 5. I recommend you follow the steps (9 if I remember right) in the tape testing chapter. ------------------------------------------------------------------------- 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