On Mon, 22 Jan 2007 13:19:07 -0500, John Drescher wrote
> I did not see an Autochanger resource in your changer config is
> there one??
No, is not, but bacula sd verion is 1.36.3 (22 April 2005) and does not accept
a resource named Autochanger - basicly sd dies with the error "22-Jan 13:42
bacula-sd: ERROR TERMINATION at parse_conf.c:781 Config error: expected
resource name, got: Autochanger..." If you'll have a look in my Device
section, you'll see the rest of the options that you'll have in your
Autochanger resource. The fact is this combination works well. What I don't
understand is why the other dir is sending such command to the autochanger:
"3908 Error scanning autocharger list command:
autochanger slots Ultrium-Drive"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Daniel
>
> John
>
> On 1/22/07, Zeratul <[EMAIL PROTECTED]> wrote:
> > >
> > > Seems mtx-changer related problem?
> > > Did you do the autochanger tests with btape?
> > > Can you post SD config?
> > >
> >
> > It's not an mtx problem. The autochanger is working well - I can use mtx
> > command to get the status of the changer, to load/unload tapes, to move
> > tapes
> > from one slot to another. More than this, the local bacula-dir is working
> > also
> > well with the autochanger. It labeled the tapes using "label barcode", it's
> > saving all backups successfully on the tapes and I can restore everything.
> >
> > The configuration is as follows:
> >
> > bacula-master01(dir) --------- bacula-tp01(dir and sd)
> >
> > and I'm trying to communicate with bacula-tp01 sd from bacula-master01 dir.
> >
> >
> > SD config:
> > --------------------------------------------------------------
> > Storage { # definition of myself
> > Name = backup-tp01
> > SDPort = 9103
> > Working Directory = "/var/bacula"
> > Pid Directory = "/var/run"
> > Maximum Concurrent Jobs = 5
> > }
> >
> > #
> > # List Directors who are permitted to contact Storage daemon
> > #
> > Director {
> > Name = bacula-master01
> > Password = "..."
> > }
> >
> > Director {
> > Name = backup-tp01
> > Password = "..."
> > }
> >
> > Device {
> > Name = Ultrium-Drive
> > MediaType = Tape
> > Archive Device = /dev/nst0
> > AutomaticMount = yes; # when device opened, read it
> > RemovableMedia = yes;
> > RandomAccess = no;
> > Changer Command = "/var/lib/bacula/mtx-changer %c %o %S %a %d"
> > Changer Device = /dev/sg3
> > Autochanger = yes
> > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> > }
> > -------------------------------------------------------------------
> >
> > Storage resource defined on the local bacula-dir (backup-tp01):
> >
> > Storage {
> > Name = Tape_library
> > Device = Ultrium-Drive
> > Address = backup-tp01
> > SDPort = 9103
> > Password = "..."
> > Media Type = Tape
> > Autochanger = yes
> > }
> > --------------------------------------------------------------------
> >
> > Storage resources defined on the remote bacula-dir (bacula-master01):
> >
> > Storage {
> > Name = Overland
> > Device = Ultrium-Drive
> > Address = backup-tp01
> > SDPort = 9103
> > Password = "..."
> > MediaType = Tape
> > AutoChanger = yes
> > Maximum Concurrent Jobs = 5
> > }
> > --------------------------------------------------------------------
> >
> >
> >
> > -------------------------------------------------------------------------
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
>
> --
> John M. Drescher
===============
Daniel Hertanu
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users