I have recently noticed that my Magnum224 was not showing up all 24 slots specifically that the IMPORT/EXPORT slot (#24) was missing.
As a result Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger "slots" command. Device "Magnum224-0" has 24 slots. Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger "list" command. Catalog record for Volume "A00030" updated to reference slot 1. Catalog record for Volume "A00043" updated to reference slot 2. Catalog record for Volume "A00032" updated to reference slot 3. Catalog record for Volume "A00037" updated to reference slot 4. Catalog record for Volume "A00023" updated to reference slot 5. Catalog record for Volume "A00006" updated to reference slot 6. Catalog record for Volume "A00007" updated to reference slot 7. Catalog record for Volume "A00008" updated to reference slot 8. Catalog record for Volume "A00028" updated to reference slot 9. Catalog record for Volume "A00010" updated to reference slot 10. Catalog record for Volume "A00038" updated to reference slot 11. Catalog record for Volume "A00039" updated to reference slot 12. Catalog record for Volume "A00040" updated to reference slot 13. Catalog record for Volume "A00012" updated to reference slot 14. Catalog record for Volume "A00017" updated to reference slot 15. Catalog record for Volume "A00016" updated to reference slot 16. Catalog record for Volume "A00041" updated to reference slot 17. Catalog record for Volume "A00042" updated to reference slot 18. Catalog record for Volume "A00036" updated to reference slot 19. Catalog record for Volume "A00018" updated to reference slot 20. Catalog record for Volume "A00027" updated to reference slot 21. Catalog record for Volume "A00034" updated to reference slot 22. Catalog record for Volume "A00031" updated to reference slot 23. After some investigation the problem is the output of the mtx script: Storage Changer /dev/autochanger1:2 Drives, 24 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Data Transfer Element 1:Empty Storage Element 1:Full :VolumeTag=A00030 Storage Element 2:Full :VolumeTag=A00043 Storage Element 3:Full :VolumeTag=A00032 Storage Element 4:Full :VolumeTag=A00037 Storage Element 5:Full :VolumeTag=A00023 Storage Element 6:Full :VolumeTag=A00006 Storage Element 7:Full :VolumeTag=A00007 Storage Element 8:Full :VolumeTag=A00008 Storage Element 9:Full :VolumeTag=A00028 Storage Element 10:Full :VolumeTag=A00010 Storage Element 11:Full :VolumeTag=A00038 Storage Element 12:Full :VolumeTag=A00039 Storage Element 13:Full :VolumeTag=A00040 Storage Element 14:Full :VolumeTag=A00012 Storage Element 15:Full :VolumeTag=A00017 Storage Element 16:Full :VolumeTag=A00016 Storage Element 17:Full :VolumeTag=A00041 Storage Element 18:Full :VolumeTag=A00042 Storage Element 19:Full :VolumeTag=A00036 Storage Element 20:Full :VolumeTag=A00018 Storage Element 21:Full :VolumeTag=A00027 Storage Element 22:Full :VolumeTag=A00034 Storage Element 23:Full :VolumeTag=A00031 Storage Element 24 IMPORT/EXPORT:Full :VolumeTag=A00035 The mtx script expects the slot number followed by a :Full: If it does not see that it ignores the slot. My fix was to use sed to remove the " IMPORT/EXPORT" from the stream so that the rest of the processing would work. Replace this line: ${MTX} -f $ctl status >${TMPFILE} With this: ${MTX} -f $ctl status | sed 's# IMPORT/EXPORT##g' >${TMPFILE} And then the result is: Device "Magnum224-0" has 24 slots. Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger "list" command. Catalog record for Volume "A00030" updated to reference slot 1. Catalog record for Volume "A00043" updated to reference slot 2. Catalog record for Volume "A00032" updated to reference slot 3. Catalog record for Volume "A00037" updated to reference slot 4. Catalog record for Volume "A00023" updated to reference slot 5. Catalog record for Volume "A00006" updated to reference slot 6. Catalog record for Volume "A00007" updated to reference slot 7. Catalog record for Volume "A00008" updated to reference slot 8. Catalog record for Volume "A00028" updated to reference slot 9. Catalog record for Volume "A00010" updated to reference slot 10. Catalog record for Volume "A00038" updated to reference slot 11. Catalog record for Volume "A00039" updated to reference slot 12. Catalog record for Volume "A00040" updated to reference slot 13. Catalog record for Volume "A00012" updated to reference slot 14. Catalog record for Volume "A00017" updated to reference slot 15. Catalog record for Volume "A00016" updated to reference slot 16. Catalog record for Volume "A00041" updated to reference slot 17. Catalog record for Volume "A00042" updated to reference slot 18. Catalog record for Volume "A00036" updated to reference slot 19. Catalog record for Volume "A00018" updated to reference slot 20. Catalog record for Volume "A00027" updated to reference slot 21. Catalog record for Volume "A00034" updated to reference slot 22. Catalog record for Volume "A00031" updated to reference slot 23. Catalog record for Volume "A00035" updated to reference slot 24. -- John M. Drescher ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users