Hello, Thanks for the data.
The output of your autochanger below, when seen by the new mtx-changer script yields: 1:ALOW0006 2:ALOW0010 3:ALOW0023 4:ALOW0026 5:ALOW0029 6:ALOW0028 7:ALOW0027 17:AMED0014 18:AMED0016 24:AMED0028 30:AINC0003 31:AINC0011 32:AINC0012 34:AINC0014 35:AINC0015 44:AHIG0002 45:AHIG0003 46:AHIG0006 8:ALOW0008 33:AINC0013 Which appears to me to be completely correct. :-) On Monday 11 July 2005 18:28, Alan Brown wrote: > On Wed, 6 Jul 2005, Kern Sibbald wrote: > > I'm now working on getting "update slots" working with multiple drive > > autochangers. It currently works OK with a single drive changer by > > unloading any loaded drive, then doing an mtx status. Now with a 30 > > drive autochanger, it will be a bit of chaos to unload 30 drives just to > > update Bacula's slot information, so I need to modify how it is done. > > I did raise this point a while back... :-) > > > The appropriate information is already returned by mtx even for drives > > that are loaded, so it is just a bit of painful script writing. However, > > I do not have at hand any typical output for multiple drive autochangers > > with barcodes. > > This is a 2 drive barcoded HP MSL6060, aka Overland Neo4000 > > > where you replace /dev/sgN with the control device name for your > > autochanger - Send me the output from the above command, and I will make > > sure that the new mtx-changer script is able to process it correctly > > without unloading your drives :-) > > # mtx status > Storage Changer /dev/changer:2 Drives, 60 Slots ( 2 Import/Export ) > Data Transfer Element 0:Full (Storage Element 8 Loaded):VolumeTag = > ALOW0008 > > Data Transfer Element 1:Full (Storage Element 33 Loaded):VolumeTag = > AINC0013 > > Storage Element 1:Full :VolumeTag=ALOW0006 > Storage Element 2:Full :VolumeTag=ALOW0010 > Storage Element 3:Full :VolumeTag=ALOW0023 > Storage Element 4:Full :VolumeTag=ALOW0026 > Storage Element 5:Full :VolumeTag=ALOW0029 > Storage Element 6:Full :VolumeTag=ALOW0028 > Storage Element 7:Full :VolumeTag=ALOW0027 > Storage Element 8:Empty > Storage Element 9:Empty > Storage Element 10:Empty > Storage Element 11:Empty > Storage Element 12:Empty > Storage Element 13:Empty > Storage Element 14:Empty > Storage Element 15:Empty > Storage Element 16:Empty > Storage Element 17:Full :VolumeTag=AMED0014 > Storage Element 18:Full :VolumeTag=AMED0016 > Storage Element 19:Empty > Storage Element 20:Empty > Storage Element 21:Empty > Storage Element 22:Empty > Storage Element 23:Empty > Storage Element 24:Full :VolumeTag=AMED0028 > Storage Element 25:Empty > Storage Element 26:Empty > Storage Element 27:Empty > Storage Element 28:Empty > Storage Element 29:Empty > Storage Element 30:Full :VolumeTag=AINC0003 > Storage Element 31:Full :VolumeTag=AINC0011 > Storage Element 32:Full :VolumeTag=AINC0012 > Storage Element 33:Empty > Storage Element 34:Full :VolumeTag=AINC0014 > Storage Element 35:Full :VolumeTag=AINC0015 > Storage Element 36:Empty > Storage Element 37:Empty > Storage Element 38:Empty > Storage Element 39:Empty > Storage Element 40:Empty > Storage Element 41:Empty > Storage Element 42:Empty > Storage Element 43:Empty > Storage Element 44:Full :VolumeTag=AHIG0002 > Storage Element 45:Full :VolumeTag=AHIG0003 > Storage Element 46:Full :VolumeTag=AHIG0006 > Storage Element 47:Empty > Storage Element 48:Empty > Storage Element 49:Empty > Storage Element 50:Empty > Storage Element 51:Empty > Storage Element 52:Empty > Storage Element 53:Empty > Storage Element 54:Empty > Storage Element 55:Empty > Storage Element 56:Empty > Storage Element 57:Empty > Storage Element 58:Empty > Storage Element 59 IMPORT/EXPORT:Empty > Storage Element 60 IMPORT/EXPORT:Empty -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users