Bug#376679: Further config info:

2006-07-04 Thread John Goerzen
On Tue, Jul 04, 2006 at 10:52:40AM +0100, Don Alexander wrote:
> Just in case the config file parsing has changed here is the relevent
> sections from my bacula-sd.conf
> 
> - --- CUT ---  bacula-sd.conf
> Device {
>   Name = HP-C1557A #
>   Media Type = DDS-3
>   Archive Device = /dev/nst0
>   AutomaticMount = yes;   # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg0
>   AutoChanger = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> 
> }
> - --- CUT ---

Well, I can say that this appears to be a deprecated way of
configuring autochangers.  Please see:

http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html#SECTION000166000




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#376679: Further config info:

2006-07-04 Thread Don Alexander
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just in case the config file parsing has changed here is the relevent
sections from my bacula-sd.conf

- --- CUT ---  bacula-sd.conf
Device {
  Name = HP-C1557A #
  Media Type = DDS-3
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
  AutoChanger = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"

}
- --- CUT ---

And for the record the mtx-changer script works as expected from the
command line:

- --- CUT   /etc/bacula/scripts/mtx-changer /dev/sg0 list 0 /dev/nst0 0
1:MON01
2:TUE01
3:WED01
4:THU01
5:FRI01
6:CLN01

- --- CUT ---

- --
==

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEqjpouipFNInZ6esRAhvqAJ9vQ9mcipGJF1pimHQgmGGl2gKA0QCeJk1k
LbINR1wyKEEZoLLFdz4utn8=
=nNZa
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]