Greetings

I am upgrading from Bacula 5 to Bacula 7.4.3, since that is what Mageia 6.1 provides, and from an IBM autoloader with LTO-4 to a Quantum scalar I3 with LTO-8 tape drive using BRAND NEW LTO-7 tapes, and after all is said and done, bacula tells me, when going to label a tape from bconsole,
[root@LTOMag ~]# bconsole
Connecting to Director ltomag.asaambiental.mx:9101
1000 OK: 102 ltomag-dir Version: 7.4.3 (18 June 2016)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: LTO-6
Connecting to Storage daemon LTO-6 at ltomag.asaambiental.mx:9103 ...
3999 Device "LTO-6" not found or could not be opened.
Enter autochanger drive[0]:


when in fact I have a Quantum scalar i3 with LTO-8 drive using brand new LTO-7 tapes and NOT LTO-6

Also the MySQL MediaType table says
MariaDB [bacula]> select * from MediaType;
+-------------+-----------+----------+
| MediaTypeId | MediaType | ReadOnly |
+-------------+-----------+----------+
|           1 | LTO-6     |        0 |
+-------------+-----------+----------+
1 row in set (0.00 sec)

I Blew the bacula DB away and assured that NONE of the bacula config files in the /etc/bacula tree had any mention of LTO-6 anywhere before recreating the DB using the /usr/libexec/bacula/make_mysql_tables command

and low and behold, again
MariaDB [bacula]> select * from MediaType;
+-------------+-----------+----------+
| MediaTypeId | MediaType | ReadOnly |
+-------------+-----------+----------+
|           1 | LTO-6     |        0 |
+-------------+-----------+----------+
1 row in set (0.00 sec)

Here is my bacula-sd.conf

[root@LTOMag bacula]# cat bacula-sd.conf
Storage {
    Name = ltomag-sd
    SDPort = 9103
    WorkingDirectory = "/var/lib/bacula"
    Pid Directory = "/var/run/bacula-sd"
    Maximum Concurrent Jobs = 20
    SDAddress = ltomag.asaambiental.mx
}

Director {
    Name = ltomag-dir
    Password = "XXXXXXXXXXXX"
}

Director {
    Name = ltomag-mon
    Password = "XXXXXXXXXXXXX"
    Monitor = yes
}

Autochanger {
    Name = Autochanger
    Device = LTO-8
    Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
    Changer Device = /dev/sg3
}

Device {
    Name = LTO-8
    Device Type = Tape
    Media Type = LTO-8
    Archive Device = /dev/nst0
    AutomaticMount = yes;
    AlwaysOpen = yes;
    RemovableMedia = yes;
    RandomAccess = no;
    Maximum File Size = 100GB
    AutoChanger = yes
    Alert Command = "sh -c 'smartctl -H -l error %c'"
    Spool Directory = /var/spool/bacula
    LabelMedia = yes
}

Messages {
    Name = Standard
    director = ltomag-dir = all
}

The following rpms are installed

[root@LTOMag bacula]# rpm -qa | grep bacula
lib64bacula7-7.4.3-3.mga6
bacula-fd-7.4.3-3.mga6
bacula-common-7.4.3-3.mga6
bacula-backup-mysql-0.6.2-10.mga6
bacula-console-7.4.3-3.mga6
lib64bacula-sql7-7.4.3-3.mga6
bacula-sd-7.4.3-3.mga6
bacula-dir-7.4.3-3.mga6

./mtx-changer /dev/sg3 load 1 /dev/st0 0
works fine

How can I get bacula to acknowledge the LTO-8 drive with the LTO-7 tapes???

Thanks



Richard


--
LinuxCabal Asociación Civil
Ing. Richard Couture
Novell CNE, ECNE, MCNE
HP/Compaq ASE
Tel.: (+52) (333) 145-2638
Cel.: (+52) (044) 333 377-7505
Web: http://www.LinuxCabal.org
E-Mail: r...@linuxcabal.org
Hosted en la nube Cloud Sigma - www.CloudSigma.com

AVISO DE CONFIDENCIALIDAD: Este correo electrónico, incluyendo en su caso, los archivos adjuntos al mismo, pueden contener información de carácter confidencial y/o privilegiada, y se envían a la atención única y exclusivamente de la persona y/o entidad a quien va dirigido. La copia, revisión, uso, revelación y/o distribución de dicha información confidencial sin la autorización por escrito de LinuxCabal está prohibida. Si usted no es el destinatario a quien se dirige el presente correo, favor de contactar al remitente respondiendo al presente correo y eliminar el correo original incluyendo sus archivos, así como cualesquiera copia del mismo. Mediante la recepción del presente correo usted reconoce y acepta que en caso de incumplimiento de su parte y/o de sus representantes a los términos antes mencionados, LinuxCabal tendrá derecho a los daños y perjuicios que esto le cause.



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

Reply via email to