Bacula-users

Re: [Bacula-users] bacula hang waiting for storage

2008-12-04 06:07:22
Subject: Re: [Bacula-users] bacula hang waiting for storage
From: Julien Cigar <jcigar AT ulb.ac DOT be>
To: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
Date: Thu, 04 Dec 2008 12:04:34 +0100
On Thu, 2008-12-04 at 11:33 +0100, Ralf Gross wrote:
> Julien Cigar schrieb:
> 
> Are you sure you need these additional options?
> 
> >   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
> 
> 

Yes, apparently it's needed for FreeBSD :

gemini# pwd
/usr/ports/sysutils/bacula-server/files
gemini# cat pkg-message.server.in
################################################################################
NOTE:

An auto-changer manipulation script based on FreeBSDs
chio command is included and installed at

  ${PREFIX}/sbin/chio-bacula

Please have a look at it if you want to use an
autochanger. You have to configure the usage in

  ${PREFIX}/etc/bacula-dir.conf

Take care of correct permissions for changer and
tape device (e.g. /dev/ch0 and /dev/n[r]sa0) i.e.
they must be accessible by user bacula.

Due to lack of some features in the FreeBSD tape driver
implementation you MUST add some OS dependent options to
the bacula-sd.conf file:

  Hardware End of Medium = no;
  Backward Space Record  = no;
  Backward Space File    = no;

With 2 filemarks at EOT (see man mt):
  Fast Forward Space File = no;
  BSF at EOM = yes;
  TWO EOF    = yes;

With 1 filemarks at EOT (see man mt):
  Fast Forward Space File = yes;
  BSF at EOM = no;
  TWO EOF   = no;

NOTE: YOU CAN SWITCH EOT model ONLY when starting
      from scratch with EMPTY tapes.

It is also important that all the scripts accessed
by RunBeforeJob and RunAfterJob will be executed by
the user bacula.  Check your permissions.

For USB support read the bacula manual. It could be necessary
to configure/compile a new kernel.

Look at ${PREFIX}/share/bacula/update_bacula_tables for
database update procedure. Details can be found in the
ReleaseNotes

  Please read this file:

        %%DOCSDIR%%/ReleaseNotes

  as installed by docs port for the upgrade procedure.

IMPORTANT UPGRADE NOTES FOR THIS RELEASE:

- bacula-client and bacula-server do not need to be simultaneously 
upgraded.

Read the ReleaseNotes for further information.

################################################################################


> I remember that there has been some discussion on the list about these
> options. I can't remember if they are necessary with your OS but they
> were frequently  the cause of problems.
> 
> Maybe this (old) thread can help you.
> 
> http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/7731/focus=7743
> 

I'll take a look ..

> or this one 
> 
> http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/46808/focus=46962
> 
> 
> Did the btape test run successfully?
> 

Yes, I made all the suggested tests (several times) and everything was
always successfull ...

Regards,
Julien

> Ralf
-- 
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>