Hi all,

I have a Sun StorEdge L7 tape library that basically has a DLT8000 drive in 
it.
I have the following Device directive in bacula-sd.conf:

Device {
  Name = "StorEdge L7 DLT8000"
  Archive Device = /dev/rmt/1mbn
  Media Type = "DLT8000"
  Autochanger = Yes
  OfflineOnUnmount = Yes
  ChangerDevice = /dev/scsi/changer/c2t1d0
  ChangerCommand = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Always Open = Yes
  Removable media = Yes
  Spool Directory = /dumps
}


../btape test works, but the auto test fails with the following:

=== Autochanger test ===

3301 Issuing autochanger "loaded" command.
3991 Bad autochanger command: /etc/bacula/mtx-changer /dev/scsi/changer/c2t1d0 
loaded 1 /dev/rmt/1mbn 0
3991 result="/etc/bacula/mtx-changer: syntax error at line 45: `$' unexpected
": ERR=Child exited with code 2
You must correct this error or the Autochanger will not work.


Note that I have pointed MTX in /etc/bacula/mtx-changer to:

MTX=/usr/local/sbin/mtx




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to