William

I believe that message is generated when it tries to do an unload but the tape 
is still in the drive.   

Try changing the $BACULA_BASE/etc/mtx-changer.conf and set the "offline" 
variable to do an eject before an unload.

Then give it a try.

Jeff

-----Original Message-----
From: William Muriithi <will...@perasotech.com> 
Sent: Monday, November 5, 2018 11:01 AM
To: Bacula Users Mailing List <bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Assistance with Autochanger configuration

◆ This message was sent from a non-UWYO address. Please exercise caution when 
clicking links or opening attachments from external sources.


Hello,

We have a quantum superloader 3 that seem to be fine when tested through mt and 
mtx command.

[root@eng-backup02 ~]# lsscsi -g
[0:2:0:0]    disk    DELL     PERC H710P       3.13  /dev/sda   /dev/sg0
[1:0:2:0]    tape    IBM      ULTRIUM-HH6      E4J1  /dev/st0   /dev/sg1
[1:0:2:1]    mediumx QUANTUM  UHDL             0091  /dev/sch0  /dev/sg2
[root@eng-backup02 ~]#

When we run btape -c test, the command, it come back successful for all tape 
tests.  However, for the autochanger, I am getting this error.  Have anyone 
seen it before and how did you resolve it?

=== Autochanger test ===

3301 Issuing autochanger "loaded" command.
Slot 3 loaded. I am going to unload it.
3302 Issuing autochanger "unload 3 0" command.
unload status=OK 0
3303 Issuing autochanger "load 1 0" command.
3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg2 load 1 
/dev/nst0 0
3993 result="Loading media from Storage Element 1 into drive 0...done
": ERR=Child died from signal 15: Termination You must correct this error or 
the Autochanger will not work.
*

Below is my storage configurations:
Autochanger {
  Name = SuperLoader3
  Device = ultrium1
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}

Device {
  Name = ultrium1
  Media Type = LTO-6
  Archive Device = /dev/nst0
#  Drive Index = 1
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = no;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Autochanger = yes;
}

Would appreciate any guidance a  lot

Regards,
William

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to