Hi Carsten, Carsten Ralle schrieb: > I had a similar problem and solved it by changing the MySQL database > manually in the background via a script, in your case you'd need to > update the Slot, InChanger, Changer and VolStatus and may be the Enabled > column using two scripts "mount magazine 1" and "mount magazine 2", > including some email notification.
hmm, that is of course a solution. However, it sounds a little like spanning horses in front of a car because the motor doesn't work. ;) > Better solution would be of course to implement a "change magazine" > message to bacula itself, in case I missed so configuration statements > please let me know ! As far as I understand it this is what the "inchanger" flag for volumes is for. In my understanding, as long as this flag is 0 bacula should not try to make the autochanger load the volume, because it is known not to be in the changer. I am half willing to call this a bug by now, because it is pretty clear: (volume names changed and unnecessary information left out for better readability) 2 magazines, mag0 and mag1 2 volumes in each magazine, vol1 and vol2. before error: volume name | status | inchanger | slot mag0-vol1 APPEND 1 1 mag0-vol2 APPEND 1 2 mag1-vol1 APPEND 0 1 mag1-vol2 APPEND 0 2 now a backup job starts that fills all volumes in mag0 and still needs more space. Apparently it tries to load the volumes that have "inchanger" set to 0, and when it does not find them it marks them as erroneous. (see error messages stated in original posting). after error: volume name | status | inchanger | slot mag0-vol1 FULL 1 1 mag0-vol2 FULL 1 2 mag1-vol1 ERROR 0 0 mag1-vol2 ERROR 0 0 As you can see, the slot information for the volumes that are not in the changer get deleted too. In my understanding, this would even happen to people who use a real tape changer with magazines, not just the virtual one. If it does, it most certainly is not desirable behaviour. Could anyone perhaps confirm or deny this, and maybe post a snippet of your config? Maybe Carsten and me are just missing some config option... Best Regards Mike Follwerk -- T²BF IT Services GbR Daniel Blömer, Mike Follwerk, Marcus Teske Marie-Curie-Str. 1 D-53359 Rheinbach Umsatzsteuer-Identifikationsnummer gem. § 27 a Umsatzsteuergesetz: DE 238268154 Tel. +492226 / 87 21 40 Fax: +492226 / 87 21 49 http://www.tbf-it.de/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users