On Tue, Apr 16, 2013 at 9:16 AM, Marco Carcano- Statusnobilis SA <marco.carc...@statusnobilis.com> wrote: >> Most likely you need to customize the mtx-changer script for your >> archive. See if the mtx status command works. >> >> http://linux.die.net/man/1/mtx >> >> John > Hello John > > thanks for your reply - however I do not know how to customize it, > neither where to get docs > > here is the output of mtx status (it has been launched as bacula user) > > kind regards > > Marco Carcano > > mtx -f /dev/sg3 status > Storage Changer /dev/sg3:1 Drives, 24 Slots ( 0 Import/Export ) > Data Transfer Element 0:Empty > Storage Element 1:Empty > Storage Element 2:Empty > Storage Element 3:Empty > Storage Element 4:Empty > Storage Element 5:Full :VolumeTag=PT7783L3 > Storage Element 6:Empty > Storage Element 7:Empty > Storage Element 8:Empty > Storage Element 9:Full :VolumeTag=PT7782L3 > Storage Element 10:Empty > Storage Element 11:Full :VolumeTag=PT7785L3 > Storage Element 12:Empty > Storage Element 13:Empty > Storage Element 14:Empty > Storage Element 15:Empty > Storage Element 16:Empty > Storage Element 17:Empty > Storage Element 18:Empty > Storage Element 19:Empty > Storage Element 20:Empty > Storage Element 21:Empty > Storage Element 22:Empty > Storage Element 23:Empty > Storage Element 24:Empty >
You probably need to pipe the output of the mtx status command in mtx-changer to sed removing the "VolumeTag=" part. Although I have not recently looked at the mtx-changer script. John ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users