I have a weird issue that I cannot seem to figure out what is wrong. I have some backups that failed due to bacula wanting to load a tape that is not currently in the autochanger.
I have tried several things such as update slots, update slots scan, update volume to change the inchanger flag. Here is the error message : 05-Jan 14:05 vicenza.lan.lexum.pri-sd JobId 884: 3307 Issuing autochanger "unload slot 1, drive 0" command. 05-Jan 14:06 vicenza.lan.lexum.pri-sd JobId 884: 3301 Issuing autochanger "loaded? drive 0" command. 05-Jan 14:06 vicenza.lan.lexum.pri-sd JobId 884: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 05-Jan 14:06 vicenza.lan.lexum.pri-sd JobId 884: 3304 Issuing autochanger "load slot 11, drive 0" command. 05-Jan 14:11 vicenza.lan.lexum.pri-sd JobId 884: Fatal error: 3992 Bad autochanger "load slot 11, drive 0": ERR=Child died from signal 15: Termination. Results=source Element Address 1011 is Empty Program killed by Bacula watchdog (timeout) 05-Jan 14:11 cagliari.lan.lexum.pri JobId 884: Fatal error: job.c:1817 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data here is the output of list volumes : Pool: Weekly +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 2 | RC5881L3 | Full | 1 | 557,917,516,800 | 558 | 2,592,000 | 1 | 2 | 1 | DDS-4 | 2008-11-16 02:54:05 | | 3 | RC5882L3 | Error | 1 | 298,272,844,800 | 299 | 2,592,000 | 1 | 3 | 1 | DDS-4 | 2008-11-17 11:26:24 | | 4 | RC5883L3 | Full | 1 | 2,709,504 | 0 | 2,592,000 | 1 | 4 | 1 | DDS-4 | 2008-11-22 21:16:54 | | 5 | RC5880L3 | Full | 1 | 569,828,689,920 | 578 | 2,592,000 | 1 | 1 | 1 | DDS-4 | 2008-11-15 21:59:49 | | 6 | RC5884L3 | Full | 1 | 578,136,093,696 | 579 | 2,592,000 | 1 | 5 | 1 | DDS-4 | 2008-12-14 15:44:57 | | 7 | RC5885L3 | Full | 1 | 729,953,215,488 | 730 | 2,592,000 | 1 | 6 | 1 | DDS-4 | 2008-12-15 09:14:35 | | 8 | RC5886L3 | Full | 1 | 645,604,549,632 | 646 | 2,592,000 | 1 | 7 | 1 | DDS-4 | 2008-12-21 18:57:23 | | 9 | RC5887L3 | Full | 1 | 694,786,627,584 | 695 | 2,592,000 | 1 | 8 | 1 | DDS-4 | 2008-12-22 12:39:17 | | 10 | RC5890L3 | Append | 1 | 413,782,935,552 | 414 | 2,592,000 | 1 | 11 | 1 | DDS-4 | 2008-12-23 15:03:14 | | 11 | RC5891L3 | Append | 1 | 64,512 | 0 | 2,592,000 | 1 | 12 | 1 | DDS-4 | | +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ version : vicenza.lan.lexum.pri-dir Version: 2.4.3 (10 October 2008) i686-redhat-linux-gnu redhat Enterprise release my bacula-sd config file: Autochanger { Name = Autochanger Device = LTO Changer Command = "/usr/lib/bacula/mtx-changer %c %o %S /dev/st0 %d" Changer Device = /dev/sg1 } Device { Name = LTO Drive Index = 0 Media Type = DDS-4 Archive Device = /dev/st0 AutomaticMount = yes AlwaysOpen = yes RemovableMedia = yes RandomAccess = no AutoChanger = yes Spool Directory = /bacula/tapes/SPOOLDIR } My question is what can be done so that bacula knows what tapes are in the autochanger ? because when this happens no other backups will work until I restart the SD daemon(such as backup to another pool), and if I run a backup from that pool it still errors out since the volume is not there. regards, Pascal ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users