Hi List I have had some fairly regular job failures that I have pinpointed to be caused by tape status type error mismatches. The most common is that the tape status does not match that of the catalogue in a number of ways.
The first is that if the catalogue reports the volume status to be error, used or full and I manually change the status of the volume using *update -> Volume parameters -> Volume status -> Pool -> PoolName -> Append How can I be sure that the volume/tape has been updated as well as the catalogue? How can I read the status of a volume/tape without referring to the catalogue, to see the true tape status? The second mismatch issue involves the catalogue reporting a different file count than the volume actually contains, this is a typical error: 27-Feb 23:05 backup-sd JobId 514: Error: Bacula cannot write on tape Volume "Wednesday1" because: The number of files mismatch! Volume=103 Catalog=0 How can I avoid an error like this halting a job? The third mismatch is reported by the status of the storage daemon by user intervention. Often when I manually unmount a volume the storage daemon reports back the the device is BLOCKED due to user intervention. I'm not 100% sure but this error the causes a job to fail, even when I use a script to automatically umount then mount just before the job starts. Is there a way to eliminate old BLOCKED messages so they do not prevent a legitimate job? Here is a cut down copy of my bacula-dir.conf Director { Name = backup-dir DIRport = 9101 QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/var/bacula/working" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "******" Messages = Daemon } Job { Name = "holly" Type = Backup Level = Full Client = holly FileSet = "holly" Storage = LTO-2 Pool = Default RunBeforeJob = "/etc/bacula/scripts/runbefore.sh" Write Bootstrap = "/var/lib/bacula/holly.bsr" Schedule = "WeeklyCycle" Messages = Standard Priority = 7 Max Start Delay = 22h Max Run Time = 30m } FileSet { Name = "holly" Include { Options { signature = MD5 } File = /export/home/dir } Exclude { } } Client { Name = holly Address = holly FDPort = 9102 Catalog = MyCatalog Password = "*****" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } Pool { Name = Wednesday Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6 days } Regards DB -- Damian Brasher Systems Admin/Prog OMII-UK ECS Southampton University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users