On Fri, Mar 6, 2009 at 2:49 PM, John Drescher <dresche...@gmail.com> wrote: >> Okay, I think I understand how Bacula is handling these. I'm testing >> some other modifications to the mtx-changer script, though. If anybody >> has a working autochanger on Linux, could you send me the following >> output for comparison's sake? >> >> - mtx -f <device> inventory >> - mtx -f <device> status >> - mtx-changer <device> list >> - mtx-changer <device> loaded 0 <drive> <drive index> >> >> This would be really, really helpful. >> > dev6 ~ # mtx -f /dev/autochanger1 inventory > dev6 ~ # mtx -f /dev/autochanger1 status > Storage Changer /dev/autochanger1:2 Drives, 24 Slots ( 1 Import/Export ) > Data Transfer Element 0:Empty > Data Transfer Element 1:Full (Unknown Storage Element Loaded):VolumeTag = > A00048 > Storage Element 1:Full :VolumeTag=A00030 > Storage Element 2:Full :VolumeTag=A00029 > Storage Element 3:Full :VolumeTag=A00059 > 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=A00020 > Storage Element 9:Full :VolumeTag=A00028 > Storage Element 10:Full :VolumeTag=A00021 > Storage Element 11:Full :VolumeTag=A00054 > Storage Element 12:Full :VolumeTag=A00039 > Storage Element 13:Empty:VolumeTag= > Storage Element 14:Full :VolumeTag=A00012 > Storage Element 15:Full :VolumeTag=A00046 > Storage Element 16:Full :VolumeTag=A00049 > Storage Element 17:Full :VolumeTag=A00009 > Storage Element 18:Full :VolumeTag=A00014 > Storage Element 19:Full :VolumeTag=A00057 > Storage Element 20:Full :VolumeTag=A00060 > Storage Element 21:Full :VolumeTag=A00015 > Storage Element 22:Full :VolumeTag=A00043 > Storage Element 23:Full :VolumeTag=A00061 > Storage Element 24 IMPORT/EXPORT:Empty:VolumeTag= > dev6 ~ # > dev6 ~ # mtx -f /dev/autochanger1 list > Usage: > mtx --version > mtx [ -f <loader-dev> ] noattach <more commands> > mtx [ -f <loader-dev> ] inquiry | inventory > mtx [ -f <loader-dev> ] [nobarcode] status > mtx [ -f <loader-dev> ] first [<drive#>] > mtx [ -f <loader-dev> ] last [<drive#>] > mtx [ -f <loader-dev> ] next [<drive#>] > mtx [ -f <loader-dev> ] previous [<drive#>] > mtx [ -f <loader-dev> ] [invert] load <storage-element-number> [<drive#>] > mtx [ -f <loader-dev> ] [invert] unload [<storage-element-number>][<drive#>] > mtx [ -f <loader-dev> ] [eepos eepos-number] transfer > <storage-element-number> <storage-element-number> > mtx [ -f <device> ] eject > > Loaded is not a command either. > > John
Thanks a lot, John. The list/loaded commands were actually to be passed to mtx-changer so I can see how it is interpreting the output coming from mtx itself. -HKS ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users