People, PLEASE trim when quoting! On Fri, 14 Aug 2009, John Drescher wrote:
> >> I can tell you that my IMPORT/EXPORT slot does work correctly after a > >> slight modification of the mtx-changer script. Although after I put a > >> tape in it the first time I run update slots bacula says there are 23 > >> slots instead of 24 so it ignores slot 24. I run update slots a second > >> time and all is well. > > > > What did your mtx-changer modification do? > > > > dev6 bacula # cat mtx-changer.patch > --- mtx-changer.old 2008-05-15 15:32:59.000000000 +0200 > +++ mtx-changer 2008-05-15 15:13:12.000000000 +0200 > @@ -188,7 +188,7 @@ > # ${MTX} -f $ctl inventory > ${MTX} -f $ctl status >${TMPFILE} > rtn=$? > - cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk > "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//" > + cat ${TMPFILE} | sed "s/ IMPORT\/EXPORT//" | grep " Storage > Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full > *\(:VolumeTag=\)*//" > # > # If you have a VXA PacketLoader and the above does not work, try > # turning it off and enabling the following line. > > > This was added for bacula to recognize the barcode for slots labeled > IMPORT/EXPORT. I kind of doubt that this is your issue. I think this is quite dangerous and the reasoning is as follows: If "update slots" is run while a tape from a I/O slot is loaded into the drive then the drive will report "unknown" as the parent slot and from that point Bacula doesn't know where to unload it - end result is an effectively wedged drive. I made a similar tweak to try and use the I/O slots and backed it out for this reason. Ideally the script would be tweaked to associate any "unknown" tapes in drives with the I/O slots AB ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users