Hi, On 5/30/2007 5:52 PM, Deric Abel wrote: > Hello, I've been running 2.0.3 now for a few months and today we have a > problem that I can not resolve. > > We have a tape library with 24 slots. When I do an update slots on > bconsole I get this output: > > *update slots > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > The defined Storage resources are: > 1: File > 2: Autochanger > Select Storage resource (1-2): 2 > Connecting to Storage daemon Autochanger at ganymede:9103 ... > Enter autochanger drive[0]:0 > Connecting to Storage daemon Autochanger at ganymede:9103 ... > 3306 Issuing autochanger "slots" command. > Device "Autochanger" has 23 slots. > Connecting to Storage daemon Autochanger at ganymede:9103 ... > 3306 Issuing autochanger "list" command. > No Volumes found to label, or no barcodes.
Ok, quite obvious... > > Which isn't right, because a: mtx -f /dev/sg0 status does the following: > > [EMAIL PROTECTED] bacula]# mtx -f /dev/sg0 status > Storage Changer /dev/sg0:2 Drives, 23 Slots ( 0 Import/Export ) > Data Transfer Element 0:Full (Storage Element 6 Loaded):VolumeTag = > 000026 ... up to this point. > Data Transfer Element 1:Empty > Storage Element 1:Empty:VolumeTag= > Storage Element 2:Empty:VolumeTag= > Storage Element 3:Empty:VolumeTag= > Storage Element 4:Empty:VolumeTag= > Storage Element 5:Full :VolumeTag=000027 > Storage Element 6:Empty:VolumeTag= > Storage Element 7:Full :VolumeTag=000025 > Storage Element 8:Full :VolumeTag=000024 > Storage Element 9:Empty:VolumeTag= > Storage Element 10:Empty:VolumeTag= > Storage Element 11:Full :VolumeTag=000017 > Storage Element 12:Full :VolumeTag=000018 > Storage Element 13:Full :VolumeTag=000019 > Storage Element 14:Full :VolumeTag=000020 > Storage Element 15:Full :VolumeTag=000021 > Storage Element 16:Full :VolumeTag=000022 > Storage Element 17:Full :VolumeTag=000009 > Storage Element 18:Full :VolumeTag=000010 > Storage Element 19:Full :VolumeTag=000011 > Storage Element 20:Full :VolumeTag=000012 > Storage Element 21:Full :VolumeTag=000016 > Storage Element 22:Full :VolumeTag=000003 > Storage Element 23:Full :VolumeTag=000015 > > > I have restarted bacula as well as the whole machine, and nothing seems > to fix the problem. Does anyone have any ideas? We are dead in the > water right now. Debugging mtx-changer seems to be necessary. Look at your changer command definition, and use mtx-changer accordingly from the shell. As necessary, add debug output, or run with the -x switch, for example. I suppose that mtx-changer either uses the wrong mtx program which doesn't report volume tags, or can't correctly parse the output of mtx. Both would be fixable. A work-arount would be to use 'update slots scan' in bconsole. Arno > Thanks, > > Deric > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users