Hi, 25.10.2007 13:16,, Peter Mann wrote:: > On Thu, Sep 13, 2007 at 12:18:00PM +0200, Peter Mann wrote: >> i'm testing Bacula 2.2.0, but i have problem with autochanger test for >> second drive: > > i have still problem with autochanger ... now with Bacula 2.2.5 too: > >> 3303 Issuing autochanger "load 1 1" command. >> 3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg1 load >> 1 /dev/nst1 1 >> 3993 result="source Element Address 32 is Empty >> ": ERR=Child exited with code 1 >> You must correct this error or the Autochanger will not work. > > === Autochanger test === > > 3301 Issuing autochanger "loaded" command. > Slot 2 loaded. I am going to unload it. > 3302 Issuing autochanger "unload 2 0" command. > unload status=OK 0 > 3303 Issuing autochanger "load 1 0" command. > 3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg1 load 1 > /dev/nst0 0 > 3993 result="source Element Address 32 is Empty > ": ERR=Child exited with code 1 > You must correct this error or the Autochanger will not work. > >> why "source Element Address 32" ??? why 32 ???
That's mtx's / the changers internal numbering. Often, the tape positions are numbered differently than the slots; quite often you'll find devices that first have the tape drive as positions 0 and upwards, and then the cartridge slots follow. I suspect that your autochanger has the tape drives as 0 and 1, the fisrt slot as 2, and so on. It might be that using the other slot numbering scheme - there is one starting at zero available, and one starting with 1. The slot numbers are expressed as %s and %S in the Changer Command option, respectively. >> the same scripts returns: >> /etc/bacula/scripts/mtx-changer /dev/sg1 slots >> 30 > > mtx status, loading and unloading is without problems ... > > mtx version 1.2.17rel > > > Host: scsi1 Channel: 00 Id: 00 Lun: 00 > Vendor: HP Model: MSL6000 Series Rev: 0518 > Type: Medium Changer ANSI SCSI revision: 02 I'm quite sure that MSLs can be used with Bacula... Arno > > > help, please ... > > -- Arno Lehmann IT-Service Lehmann www.its-lehmann.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