Bacula-users

[Bacula-users] not enough space on the disk

2008-08-31 18:24:41
Subject: [Bacula-users] not enough space on the disk
From: "Yuri Timofeev" <tim4dev AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 1 Sep 2008 01:24:35 +0300
Hi

bacula reacts very badly when not enough space on the disk when running Job.
When checking Volumes appear incorrigibility errors ("short block" and others).

Workaround:

METHOD 1. Simple.

Job {
   ...
   RunBeforeJob = "/path/diskmon.sh"
}

And see diskmon.sh in attachments.



METHOD 2. Using snmp.

   RunBeforeJob = "/path/chk_free_space_on_sd1.pl -j %n"

And see chk_free_space_on_sd1.pl in attachments.
This script is looking for Storage for Job, and on behalf Storage is
looking for his network address.
Plugin from nagios inside.
Used two bacula configuration file: "our-clients" (it all in boxing
with which backup), Director's file, there  is information about
Storages.


-- 
with best regards

Attachment: diskmon.sh
Description: Bourne shell script

Attachment: chk_free_space_on_sd.pl
Description: Perl program

-------------------------------------------------------------------------
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] not enough space on the disk, Yuri Timofeev <=