In 1.38.x your mxt-changer script must return the correct number of slots, and it looks like it is returning zero. If I remember right, the manual explains how you can manually check this. Probably something like:
mtx-changer /dev/sg0 slots 0 dummy 0 It should print the correct number of slots in your changer. If not, you will need to fix it ... On Thursday 24 November 2005 16:27, Timo Eissler wrote: > Hello, > > i have just upgraded from 1.36.0 to 1.38.2. > > And now i can´t do an "update slots" command for my autochanger, because > i will only get > > *update > Using default Catalog name=MyCatalog DB=bacula > Update choice: > 1: Volume parameters > 2: Pool from resource > 3: Slots from autochanger > Choose catalog item to update (1-3): 3 > The defined Storage resources are: > 1: File > 2: LIB-D81_changer > 3: DLT-4000 > Select Storage resource (1-3): 2 > Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... > Connecting to Storage daemon LIB-D81_changer at maintain.dtnet.de:9103 ... > 3306 Issuing autochanger "slots" command. > Device "LIB-D81" has 0 slots. > No slots in changer to scan. > > This is going to make me crazy, because i think i upgraded my configs > the right way. > > bacula-dir.conf > > Storage { > Name = "LIB-D81_changer" > Address = maintain.dtnet.de > SDPort = 9103 > Password = "iWair9qu" > Device = "LIB-D81" > MediaType = "AIT-2" > Autochanger = yes > Maximum Concurrent Jobs = 1 > } > > bacula-sd.conf > > Autochanger { > Name = "LIB-D81" > Device = "SDX-500V" > Changer Device = /dev/sg2 > Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > } > > Device { > Name = "SDX-500V" > Description = "Sony SDX-500V" > Drive Index = 0 > Media Type = "AIT-2" > Archive Device = /dev/nst0 > AutomaticMount = yes > AlwaysOpen = yes > RemovableMedia = yes > RandomAccess = no > Label media = no > Autochanger = yes > Changer Device = /dev/sg2 > Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > Spool Directory = /srv/bacula-spool/LIB-D81 > Maximum Spool Size = 32212254720 > } > > > Please can someone show me a way to solve this problem? > > I tested so much thinks like "/etc/bacula/scripts/mtx-changer /dev/sg2 > slots 1 /dev/nst0 0" which gives me the correct number of slots. > > I think i can´t solve this my own. Thanks for any help. > > regards, > Timo -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users