You can do a bscan and find out how many files are on it. Then you can update the number in the catalog to match how many are actually on the volume and voila, the volume works perfectly again.
>>> Gabriele Bulfon <[EMAIL PROTECTED]> 09/01/2006 09:19 >>> I discovered the misterious delay issue, connected to the strange pruning / recycle behaviours. I am no more sure about my manual purge, so, I will accept your conclusion about my Files Mismatch happenging. As suggested by some user some time ago, I had some installations with a "RunBeforeScript" that runs a "stat dir" and a "mount" of the QUANTUM device. This seems to force the Recycle / Purge routines, just before running the first job. If not run, the Recycle seems to happen at Bacula random desires, maybe after some hours of Intervention Needed. So I just placed the same script on this mysterious installation, and things keep going good again. Thanx to the one that suggested the script. Gabriele. Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com ---------------------------------------------------------------------------------- Da: Arno Lehmann <[EMAIL PROTECTED]> A: bacula-users <bacula-users@lists.sourceforge.net> Data: 9 gennaio 2006 9.51.55 CET Oggetto: Re: [Bacula-users] Numbero fo Files Mismatch Hello, On 1/9/2006 8:13 AM, Gabriele Bulfon wrote: > > I am almost sure that I purged that volume manually some hours before > the job started, because misteriously jobs were beginning to start late > the previous days (like some hours of Intervention Needed and then > Recycle at a strange hour). I am almost sure that, at the time the error was encountered, the volume was not purged. Simply because, after a volume is purged in the catalog, Bacula will not fast forward to the EOD on tape and thereby count the file marks on the tape and compare it to the value stored in the catalog. Instead, it will simply rewind the tape and start with a new volume label and, at the same time, set the catalog info accordingly. You seem to have a very mysterious Bacula running - again things happen mysteriously... (SCNR) Arno > <http://www.sonicle.com> > Gabriele Bulfon - Sonicle S.r.l. > Tel +39 028246016 Int. 30 - Fax +39 028243880 > Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY > http://www.sonicle.com > > > > > ---------------------------------------------------------------------------------- > > Da: Phil Stracchino <[EMAIL PROTECTED]> > A: Gabriele Bulfon <[EMAIL PROTECTED]> bacula-users > <bacula-users@lists.sourceforge.net> > Data: 9 gennaio 2006 1.39.07 CET > Oggetto: Re: [Bacula-users] Numbero fo Files Mismatch > > Gabriele Bulfon wrote: > > What is this error?! > > > > 05-Jan 23:00 iserver-sd: Enterprise_Backup.2006-01-05_23.00.00 > Error: I > > canot write on Volume "GIOVEDI" because: > > The number of files mismatch! Volume=14 Catalog=13 > > Short version: Some error or failure (did the machine crash? did > Bacula crash?) has caused the catalog to become out of sync with the > number of files actually on the volume. We don't yet know all the > possible causes for this problem. You might do a test to see whether > you can restore files from that volume and, if so, just keep it > until it > is recycled, which will clear the issue. Otherwise, you can purge the > volume immediately and re-use it if you prefer. > > > -- > Phil Stracchino [EMAIL PROTECTED] > Renaissance Man, Unix generalist, Perl hacker > Mobile: 603-216-7037 Landline: 603-886-3518 > > > -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users *********************************************************************************** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important. *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users